diff --git a/src/local_macros.rs b/src/local_macros.rs index 51be0d62..146fedd3 100644 --- a/src/local_macros.rs +++ b/src/local_macros.rs @@ -243,6 +243,7 @@ macro_rules! impl_payload { stringify!($field), ") field." )] + #[allow(clippy::wrong_self_convention)] fn $field(mut self, value: T) -> Self where T: Into<$FTy>, @@ -263,6 +264,7 @@ macro_rules! impl_payload { stringify!($field), ") field." )] + #[allow(clippy::wrong_self_convention)] fn $field(mut self, value: T) -> Self where T: ::core::iter::IntoIterator::Item>, @@ -283,6 +285,7 @@ macro_rules! impl_payload { stringify!($field), ") field." )] + #[allow(clippy::wrong_self_convention)] fn $field(mut self, value: $FTy) -> Self { self.payload_mut().$field = Some(value); self @@ -300,6 +303,7 @@ macro_rules! impl_payload { stringify!($field), ") field." )] + #[allow(clippy::wrong_self_convention)] fn $field(mut self, value: T) -> Self where T: Into<$FTy>, @@ -320,6 +324,7 @@ macro_rules! impl_payload { stringify!($field), ") field." )] + #[allow(clippy::wrong_self_convention)] fn $field(mut self, value: T) -> Self where T: ::core::iter::IntoIterator::Item>, @@ -340,6 +345,7 @@ macro_rules! impl_payload { stringify!($field), ") field." )] + #[allow(clippy::wrong_self_convention)] fn $field(mut self, value: $FTy) -> Self { self.payload_mut().$field = value; self