diff --git a/crates/ruff_python_formatter/generate.py b/crates/ruff_python_formatter/generate.py index 818f6e62c8d98..ff28a04331dc0 100755 --- a/crates/ruff_python_formatter/generate.py +++ b/crates/ruff_python_formatter/generate.py @@ -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",