We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4f2951 commit a2cfa03Copy full SHA for a2cfa03
lightning-macros/src/lib.rs
@@ -175,7 +175,7 @@ fn process_fields(group: Group) -> proc_macro::TokenStream {
175
/// ```
176
#[proc_macro]
177
pub fn skip_legacy_fields(expr: TokenStream) -> TokenStream {
178
- let mut stream = expr.clone().into_iter();
+ let mut stream = expr.into_iter();
179
let mut res = TokenStream::new();
180
181
// First expect `match self` followed by a `{}` group...
0 commit comments