Skip to content

Commit

Permalink
Allow non_camel_case_types for EventBase ident
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Jan 21, 2022
1 parent c5fe47b commit fbe88f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/lang/codegen/src/generator/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ impl<'a> Events<'a> {
let base_event_ident =
proc_macro2::Ident::new("__ink_EventBase", Span::call_site());
quote! {
#[allow(non_camel_case_types)]
#[derive(::scale::Encode, ::scale::Decode)]
pub enum #base_event_ident {
#( #event_idents(#event_idents), )*
Expand Down

0 comments on commit fbe88f8

Please sign in to comment.