From 9835e2ae736235810b4ea1c162ca5e65c547e770 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 18 May 2024 04:49:50 +0200 Subject: Merging upstream version 1.71.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/crypto-bigint/src/checked.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'vendor/crypto-bigint/src/checked.rs') diff --git a/vendor/crypto-bigint/src/checked.rs b/vendor/crypto-bigint/src/checked.rs index e02317e32..2eaa7013b 100644 --- a/vendor/crypto-bigint/src/checked.rs +++ b/vendor/crypto-bigint/src/checked.rs @@ -61,7 +61,6 @@ impl From> for Option { } #[cfg(feature = "serde")] -#[cfg_attr(docsrs, doc(cfg(feature = "serde")))] impl<'de, T: Default + Deserialize<'de>> Deserialize<'de> for Checked { fn deserialize(deserializer: D) -> Result where @@ -74,8 +73,7 @@ impl<'de, T: Default + Deserialize<'de>> Deserialize<'de> for Checked { } #[cfg(feature = "serde")] -#[cfg_attr(docsrs, doc(cfg(feature = "serde")))] -impl<'de, T: Copy + Serialize> Serialize for Checked { +impl Serialize for Checked { fn serialize(&self, serializer: S) -> Result where S: Serializer, -- cgit v1.2.3