Make `decl_event!` more flexible with the automatic naming of generic parameters
The macro will now automatically derive the name of a generic parameter from the trait type name, if no explicit name is given. `where Balance = <T as Trait>::Balance` can be simplified to `where <T as Trait>::Balance`.
parent
b0bc40bb
Please register or sign in to comment