mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-22 10:21:04 +00:00
Feat suppert procedural (#7913)
* fix clippy replace clone with copy * fix clippy warning pattern * fix clippy warning replace into_iter with iter * replace match with if let * replace =0 with is_empty * replace or with or_else * replace vec! with Vec::new
This commit is contained in:
@@ -27,7 +27,7 @@ pub fn expand_call(def: &mut Def) -> proc_macro2::TokenStream {
|
||||
let type_impl_gen = &def.type_impl_generics(def.call.attr_span);
|
||||
let type_decl_bounded_gen = &def.type_decl_bounded_generics(def.call.attr_span);
|
||||
let type_use_gen = &def.type_use_generics(def.call.attr_span);
|
||||
let call_ident = syn::Ident::new("Call", def.call.attr_span.clone());
|
||||
let call_ident = syn::Ident::new("Call", def.call.attr_span);
|
||||
let pallet_ident = &def.pallet_struct.pallet;
|
||||
let where_clause = &def.call.where_clause;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user