Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
harupy committed Aug 2, 2023
1 parent 82d44ac commit dcdb749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff/src/rules/pyupgrade/rules/f_strings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dcdb749

Please sign in to comment.