Skip to content

Commit 20bb600

Browse files
committed
Remove confusing drop.
1 parent ba7bf1d commit 20bb600

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/rustc_builtin_macros/src/format.rs

-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ pub fn make_format_args(
448448

449449
if !unfinished_literal.is_empty() {
450450
template.push(FormatArgsPiece::Literal(Symbol::intern(&unfinished_literal)));
451-
drop(unfinished_literal);
452451
}
453452

454453
if !invalid_refs.is_empty() {

0 commit comments

Comments
 (0)