Skip to content

Commit

Permalink
Add non_camel_case_types for storage_alias (paritytech#14104)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou authored and nathanwhit committed Jul 19, 2023
1 parent e284da2 commit 96c60a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frame/support/procedural/src/storage_alias.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ fn generate_storage_instance(

// Implement `StorageInstance` trait.
let code = quote! {
#[allow(non_camel_case_types)]
#visibility struct #name< #impl_generics >(
#crate_::sp_std::marker::PhantomData<(#type_generics)>
) #where_clause;
Expand Down

0 comments on commit 96c60a9

Please sign in to comment.