Skip to content

Commit

Permalink
Remove confusing drop.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Sep 27, 2022
1 parent ba7bf1d commit 20bb600
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_builtin_macros/src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ pub fn make_format_args(

if !unfinished_literal.is_empty() {
template.push(FormatArgsPiece::Literal(Symbol::intern(&unfinished_literal)));
drop(unfinished_literal);
}

if !invalid_refs.is_empty() {
Expand Down

0 comments on commit 20bb600

Please sign in to comment.