mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-21 19:26:29 +00:00
Remove unneeded Config bounds and BlockNumber associated type (#804)
* remove unneeded Config bounds and BlockNumber associated type * clippy and fmt
This commit is contained in:
1 parent
171bd62bb2
commit
ce0a82e322
27 files changed
+72
-112
No files matched your search
@@ -370,8 +370,8 @@ impl RuntimeGenerator {
|
||||
}
|
||||
|
||||
/// Return a vector of tuples of variant names and corresponding struct definitions.
|
||||
pub fn generate_structs_from_variants<'a, F>(
|
||||
type_gen: &'a TypeGenerator,
|
||||
pub fn generate_structs_from_variants<F>(
|
||||
type_gen: &TypeGenerator,
|
||||
type_id: u32,
|
||||
variant_to_struct_name: F,
|
||||
error_message_type_name: &str,
|
||||
|
||||
Reference in new issue
Block a user