events-macros: Revert recent addition of unneeded allow(clippy::lints)
This commit is contained in:
parent
77cf085ab9
commit
18127be03c
@ -396,7 +396,7 @@ fn expand_content_enum(
|
||||
#( #attrs )*
|
||||
#[derive(Clone, Debug, #serde::Serialize)]
|
||||
#[serde(untagged)]
|
||||
#[allow(clippy::large_enum_variant, clippy::manual_non_exhaustive)]
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)]
|
||||
pub enum #ident {
|
||||
#(
|
||||
@ -458,7 +458,7 @@ fn expand_content_enum(
|
||||
#( #attrs )*
|
||||
#[derive(Clone, Debug, #serde::Serialize)]
|
||||
#[serde(untagged)]
|
||||
#[allow(clippy::large_enum_variant, clippy::manual_non_exhaustive)]
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
#[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)]
|
||||
pub enum #redacted_ident {
|
||||
#(
|
||||
|
Loading…
x
Reference in New Issue
Block a user