From b509d93cfa7bfb775896bda533c35dbf56665fde Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Tue, 8 Oct 2024 11:51:48 +0200 Subject: [PATCH] Update generate.py comment --- crates/ruff_python_formatter/generate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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",