parse_format optimize import use
This commit is contained in:
parent
fdd1a3b026
commit
3026545ab5
7 changed files with 33 additions and 38 deletions
|
@ -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 }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue