diff --git a/crates/ruff/src/rules/pyupgrade/rules/f_strings.rs b/crates/ruff/src/rules/pyupgrade/rules/f_strings.rs index 0f6239d19d91de..e734d2a874a27c 100644 --- a/crates/ruff/src/rules/pyupgrade/rules/f_strings.rs +++ b/crates/ruff/src/rules/pyupgrade/rules/f_strings.rs @@ -185,7 +185,7 @@ fn formatted_expr<'a>(expr: &Expr, context: FormatContext, locator: &Locator<'a> } } -/// Convert a format call on a string literal to an f-string. +/// Convert a string format call to an f-string. fn try_convert_to_f_string( locator: &Locator, range: TextRange,