diff --git a/serde_with/src/serde_conv.rs b/serde_with/src/serde_conv.rs index 39b3f63a..2ac60146 100644 --- a/serde_with/src/serde_conv.rs +++ b/serde_with/src/serde_conv.rs @@ -112,6 +112,7 @@ macro_rules! serde_conv { const _:() = { impl $m { + #[allow(clippy::ptr_arg)] $vis fn serialize(x: &$t, serializer: S) -> $crate::__private__::Result where S: $crate::serde::Serializer,