Skip to content

Commit

Permalink
Elide some unnecessarily named lifetimes to appease Clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed Jan 4, 2025
1 parent cf67baf commit 2cd4ea7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ struct Temp {
buffer: String,
}

impl<'de, 'input, 'temp, O> Deserializer<'de, 'input, 'temp, O>
impl<'de, 'input, O> Deserializer<'de, 'input, '_, O>
where
O: Options,
{
Expand Down Expand Up @@ -499,7 +499,7 @@ where
}
}

impl<'de, 'input, 'temp, O> de::Deserializer<'de> for Deserializer<'de, 'input, 'temp, O>
impl<'de, O> de::Deserializer<'de> for Deserializer<'de, '_, '_, O>
where
O: Options,
{
Expand Down Expand Up @@ -769,7 +769,7 @@ where
options: PhantomData<O>,
}

impl<'de, 'temp, I, O> de::SeqAccess<'de> for SeqAccess<'de, 'temp, I, O>
impl<'de, I, O> de::SeqAccess<'de> for SeqAccess<'de, '_, I, O>
where
I: Iterator<Item = Node<'de, 'de>>,
O: Options,
Expand Down Expand Up @@ -805,7 +805,7 @@ where
options: PhantomData<O>,
}

impl<'de, 'input, 'temp, I, O> de::MapAccess<'de> for MapAccess<'de, 'input, 'temp, I, O>
impl<'de, 'input, I, O> de::MapAccess<'de> for MapAccess<'de, 'input, '_, I, O>
where
I: Iterator<Item = Source<'de, 'input>>,
O: Options,
Expand Down Expand Up @@ -892,7 +892,7 @@ where
}
}

impl<'de, 'input, 'temp, O> de::VariantAccess<'de> for Deserializer<'de, 'input, 'temp, O>
impl<'de, O> de::VariantAccess<'de> for Deserializer<'de, '_, '_, O>
where
O: Options,
{
Expand Down

0 comments on commit 2cd4ea7

Please sign in to comment.