From 4a5a4ab1125370ca2cd61f10cf473fefe723d6f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Wed, 17 Apr 2024 16:05:57 +0200 Subject: [PATCH] fix(serde_conv): allow `clippy::ptr_arg` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- serde_with/src/serde_conv.rs | 1 + 1 file changed, 1 insertion(+) 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,