mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-19 20:24:27 +00:00
make ClauseBody private since it is unused outside module
This commit is contained in:
parent
ac4dae181a
commit
eea4aea347
1 changed files with 2 additions and 2 deletions
|
|
@ -490,13 +490,13 @@ impl<'ast> Format<PyFormatContext<'ast>> for FormatClauseHeader<'_, 'ast> {
|
|||
}
|
||||
}
|
||||
|
||||
pub(crate) struct FormatClauseBody<'a> {
|
||||
struct FormatClauseBody<'a> {
|
||||
body: &'a Suite,
|
||||
kind: SuiteKind,
|
||||
trailing_comments: &'a [SourceComment],
|
||||
}
|
||||
|
||||
pub(crate) fn clause_body<'a>(
|
||||
fn clause_body<'a>(
|
||||
body: &'a Suite,
|
||||
kind: SuiteKind,
|
||||
trailing_comments: &'a [SourceComment],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue