events: Remove unnecessary qualification

This commit is contained in:
Jonas Platte 2021-08-12 21:23:03 +02:00
parent 3b0afb520a
commit 44a998f70d
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -459,7 +459,7 @@ pub struct UnsignedDeHelper {
#[doc(hidden)]
pub fn from_raw_json_value<'a, T, E>(val: &'a RawJsonValue) -> Result<T, E>
where
T: de::Deserialize<'a>,
T: Deserialize<'a>,
E: de::Error,
{
serde_json::from_str(val.get()).map_err(E::custom)