Skip to content

Commit d88f317

Browse files
committed
Review
1 parent 0782cec commit d88f317

File tree

1 file changed

+1
-1
lines changed
  • crates/ruff_python_formatter/src/expression

1 file changed

+1
-1
lines changed

crates/ruff_python_formatter/src/expression/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl<'a> AnyString<'a> {
5151
let unprefixed = locator
5252
.slice(f_string.range)
5353
.trim_start_matches(|c| c != '"' && c != '\'');
54-
let triple_quotes =
54+
let triple_quoted =
5555
unprefixed.starts_with(r#"""""#) || unprefixed.starts_with(r#"'''"#);
5656
if f_string.values.iter().any(|value| match value {
5757
Expr::FormattedValue(ast::ExprFormattedValue { range, .. }) => {

0 commit comments

Comments
 (0)