mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 11:43:39 -04:00
Remove confusing drop.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user