Skip to content

Commit

Permalink
fix: clippy 0.1.80 catches (#1292)
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhad-Shabani authored Aug 5, 2024
1 parent b6a1b8c commit 3654bf4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ibc-apps/ics721-nft-transfer/types/src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, DataValue>);

Expand All @@ -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,
Expand Down

0 comments on commit 3654bf4

Please sign in to comment.