Skip to content

Commit

Permalink
[FIX] clippy warning of cu29_value (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
makeecat authored Dec 22, 2024
1 parent ee88f85 commit 54c4e84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/cu29_value/src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub enum Unexpected {
Other(String),
}

impl<'a> From<de::Unexpected<'a>> for Unexpected {
impl From<de::Unexpected<'_>> for Unexpected {
fn from(unexp: de::Unexpected) -> Unexpected {
match unexp {
de::Unexpected::Bool(v) => Unexpected::Bool(v),
Expand Down Expand Up @@ -317,7 +317,7 @@ impl<'de> de::Deserialize<'de> for Value {
}
}

impl<'de> de::IntoDeserializer<'de, DeserializerError> for Value {
impl de::IntoDeserializer<'_, DeserializerError> for Value {
type Deserializer = Value;

fn into_deserializer(self) -> Value {
Expand Down Expand Up @@ -450,7 +450,7 @@ where
}
}

impl<'de, E> de::IntoDeserializer<'de, E> for ValueDeserializer<E>
impl<E> de::IntoDeserializer<'_, E> for ValueDeserializer<E>
where
E: de::Error,
{
Expand Down

0 comments on commit 54c4e84

Please sign in to comment.