mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
Introduce Token element (#7048)
This commit is contained in:
parent
2f3a950f6f
commit
c05e4628b1
78 changed files with 733 additions and 723 deletions
|
@ -16,7 +16,7 @@ impl FormatNodeRule<ExprAwait> for FormatExprAwait {
|
|||
write!(
|
||||
f,
|
||||
[
|
||||
text("await"),
|
||||
token("await"),
|
||||
space(),
|
||||
maybe_parenthesize_expression(value, item, Parenthesize::IfBreaks)
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue