Skip to content

Commit

Permalink
Add non_camel_case_types for storage_alias (#14104)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgherveou authored May 9, 2023
1 parent 2a148e3 commit 0dff96e
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 0dff96e

Please sign in to comment.