diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2022-09-06 23:19:20 +0200 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2022-09-27 13:31:52 +0200 |
| commit | 20bb600849495f6b283b7f9266a02af178ee659b (patch) | |
| tree | d55229a97164c99e93dda8a29e8e88800bccabcb | |
| parent | ba7bf1d8ef913cd7ef27bf262b0322839f8ce925 (diff) | |
| download | rust-20bb600849495f6b283b7f9266a02af178ee659b.tar.gz rust-20bb600849495f6b283b7f9266a02af178ee659b.zip | |
Remove confusing drop.
| -rw-r--r-- | compiler/rustc_builtin_macros/src/format.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_builtin_macros/src/format.rs b/compiler/rustc_builtin_macros/src/format.rs index d3e8d854c7d..b15e2d084ef 100644 --- a/compiler/rustc_builtin_macros/src/format.rs +++ b/compiler/rustc_builtin_macros/src/format.rs @@ -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() { |
