Skip to content

Commit a7335d6

Browse files
committed
f drop clone
1 parent a6c278a commit a7335d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning-macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ fn process_fields(group: Group) -> proc_macro::TokenStream {
175175
/// ```
176176
#[proc_macro]
177177
pub fn skip_legacy_fields(expr: TokenStream) -> TokenStream {
178-
let mut stream = expr.clone().into_iter();
178+
let mut stream = expr.into_iter();
179179
let mut res = TokenStream::new();
180180

181181
// First expect `match self` followed by a `{}` group...

0 commit comments

Comments
 (0)