From 3654bf482f8852898dc0b40df4f90a84f4710ac6 Mon Sep 17 00:00:00 2001 From: Farhad Shabani Date: Mon, 5 Aug 2024 08:15:18 -0700 Subject: [PATCH] fix: clippy 0.1.80 catches (#1292) --- ibc-apps/ics721-nft-transfer/types/src/data.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ibc-apps/ics721-nft-transfer/types/src/data.rs b/ibc-apps/ics721-nft-transfer/types/src/data.rs index 8ad7389b0..a9aecc509 100644 --- a/ibc-apps/ics721-nft-transfer/types/src/data.rs +++ b/ibc-apps/ics721-nft-transfer/types/src/data.rs @@ -88,6 +88,7 @@ impl<'de> serde::Deserialize<'de> for Data { )] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "schema", derive(schemars::JsonSchema))] +#[cfg_attr(not(feature = "std"), allow(dead_code))] #[derive(Clone, Debug, PartialEq, Eq)] pub struct Ics721Data(BTreeMap); @@ -100,6 +101,7 @@ impl FromStr for Ics721Data { } } +#[cfg_attr(not(feature = "std"), allow(dead_code))] #[derive(Clone, Debug, PartialEq, Eq)] pub struct DataValue { value: String,