Add #[allow(clippy::wrong_self_convention)]
@@ -243,6 +243,7 @@ macro_rules! impl_payload {
stringify!($field),
") field."
)]
+ #[allow(clippy::wrong_self_convention)]
fn $field<T>(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<T>(mut self, value: T) -> Self
where
T: ::core::iter::IntoIterator<Item = <$FTy as ::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<T>(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<T>(mut self, value: T) -> Self
where
T: ::core::iter::IntoIterator<Item = <$FTy as ::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
