Skip to content

Commit

Permalink
Update generate.py comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaReiser committed Oct 8, 2024
1 parent 9972106 commit b509d93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ruff_python_formatter/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def rustfmt(code: str) -> str:
nodes = []
for node_line in node_lines:
node = node_line.split("(")[1].split(")")[0].split("::")[-1].split("<")[0]
# `FString` and `StringLiteral` has a custom implementation while the formatting for
# `FStringLiteralElement` and `FStringExpressionElement` are handled by the `FString`
# `FString` has a custom implementation while the formatting for
# `FStringLiteralElement`, `FStringFormatSpec` and `FStringExpressionElement` are handled by the `FString`
# implementation.
if node in (
"FString",
Expand Down

0 comments on commit b509d93

Please # to comment.