Remove useless questionmark + Ok
Thanks, clippy!
This commit is contained in:
parent
275294f44e
commit
2705b27df1
@ -174,7 +174,7 @@ impl<'de> Deserialize<'de> for CanonicalJsonValue {
|
||||
D: Deserializer<'de>,
|
||||
{
|
||||
let val = JsonValue::deserialize(deserializer)?;
|
||||
Ok(val.try_into().map_err(serde::de::Error::custom)?)
|
||||
val.try_into().map_err(serde::de::Error::custom)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user