Fix clippy lints (Rust 1.92) (#5102)

* Fix clippy lints (Rust 1.92)

* cargo fmt

Signed-off-by: Nico Burns <nico@nicoburns.com>

---------

Signed-off-by: Nico Burns <nico@nicoburns.com>
This commit is contained in:
Nico Burns authored and GitHub committed 2025-12-15 15:32:09 +00:00
1 parent 96231defd1
commit 9484cda546
2 files changed
+4 -2

No files matched your search

@@ -54,13 +54,13 @@ pub fn wasm_split(args: TokenStream, input: TokenStream) -> TokenStream {
syn::FnArg::Typed(pat_type) => {
let param_ident = format_ident!("__wasm_split_arg_{i}");
args.push(param_ident.clone());
pat_type.pat = Box::new(syn::Pat::Ident(syn::PatIdent {
*pat_type.pat = syn::Pat::Ident(syn::PatIdent {
attrs: vec![],
by_ref: None,
mutability: None,
ident: param_ident,
subpat: None,
}));
});
}
}
}