mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-27 04:19:18 +00:00
Introduce Token element (#7048)
This commit is contained in:
parent
2f3a950f6f
commit
c05e4628b1
78 changed files with 733 additions and 723 deletions
|
@ -29,7 +29,7 @@ impl FormatNodeRule<StmtMatch> for FormatStmtMatch {
|
|||
ClauseHeader::Match(item),
|
||||
dangling_item_comments,
|
||||
&format_args![
|
||||
text("match"),
|
||||
token("match"),
|
||||
space(),
|
||||
maybe_parenthesize_expression(subject, item, Parenthesize::IfBreaks),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue