1
Fork 0

parse_format optimize import use

This commit is contained in:
Marijn Schouten 2025-01-23 10:16:08 +01:00
parent fdd1a3b026
commit 3026545ab5
7 changed files with 33 additions and 38 deletions

View file

@ -406,7 +406,7 @@ fn make_format_args(
for piece in &pieces {
match *piece {
parse::Piece::String(s) => {
parse::Piece::Lit(s) => {
unfinished_literal.push_str(s);
}
parse::Piece::NextArgument(box parse::Argument { position, position_span, format }) => {