diff --git a/serde/src/private/de.rs b/serde/src/private/de.rs index bcb964a9..808d783d 100644 --- a/serde/src/private/de.rs +++ b/serde/src/private/de.rs @@ -2542,11 +2542,11 @@ pub trait IdentifierDeserializer<'de, E: Error> { fn from(self) -> Self::Deserializer; } -impl<'de, E> IdentifierDeserializer<'de, E> for u32 +impl<'de, E> IdentifierDeserializer<'de, E> for u64 where E: Error, { - type Deserializer = >::Deserializer; + type Deserializer = >::Deserializer; fn from(self) -> Self::Deserializer { self.into_deserializer()