Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Sep 15, 2023
1 parent 7a1fe8f commit abbb496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primitives/core/src/bip340.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl<'de> serde::Deserialize<'de> for Bip340 {
#[cfg(not(feature = "std"))]
use codec::alloc::string::String;
sp_std::str::FromStr::from_str(&String::deserialize(deserializer)?)
.map_err(|e| serde::de::Error::custom(e))
.map_err(serde::de::Error::custom)
}
}

Expand Down

0 comments on commit abbb496

Please sign in to comment.