Skip to content

Commit

Permalink
style: run rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed May 29, 2024
1 parent 1c322d8 commit dd67478
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parser/src/parser/cst2ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,8 @@ fn string_lit_from_cst<'src>(
let literal = string_lit.as_str();

// The span doesn't include the quotes.
let string_span = ctx.span(&string_lit).subspan(num_quotes, literal.len() - num_quotes);
let string_span =
ctx.span(&string_lit).subspan(num_quotes, literal.len() - num_quotes);

// From now on ignore the quotes.
let literal = &literal[num_quotes..literal.len() - num_quotes];
Expand Down

0 comments on commit dd67478

Please sign in to comment.