From e0bdde261a7ba414feaf8efe909b0eba0b69e5d5 Mon Sep 17 00:00:00 2001 From: Farhad Shabani Date: Tue, 30 Jul 2024 14:05:23 -0700 Subject: [PATCH] fix: clippy 0.1.80 catches --- 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,