mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:24:57 +00:00
Remove some unnecessary ampersands in the formatter (#6667)
This commit is contained in:
parent
8e18f8018f
commit
3ceb6fbeb0
9 changed files with 13 additions and 13 deletions
|
@ -1698,7 +1698,7 @@ two lines`,
|
|||
text("]")
|
||||
]),
|
||||
text(";"),
|
||||
&line_suffix(&format_args![space(), text("// trailing")])
|
||||
line_suffix(&format_args![space(), text("// trailing")])
|
||||
]);
|
||||
|
||||
assert_eq!(printed.as_code(), "[1, 2, 3]; // trailing");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue