mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-01 01:57:56 +00:00
Pallet macro support frame_system::Config with args (#8606)
This commit is contained in:
@@ -126,6 +126,10 @@ impl syn::parse::Parse for ConfigBoundParse {
|
||||
input.parse::<syn::Token![::]>()?;
|
||||
input.parse::<keyword::Config>()?;
|
||||
|
||||
if input.peek(syn::token::Lt) {
|
||||
input.parse::<syn::AngleBracketedGenericArguments>()?;
|
||||
}
|
||||
|
||||
Ok(Self(ident))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user