events-macros: Revert recent addition of unneeded allow(clippy::lints)

This commit is contained in:
Jonas Platte 2021-08-22 14:10:15 +02:00
parent 77cf085ab9
commit 18127be03c
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -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 {
#(