Skip to content

Commit

Permalink
Clippy fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mintlu8 committed Apr 11, 2024
1 parent 462ce2d commit 153d19b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/projections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ impl<T, K> IterVec for T where for<'t> &'t T: IntoIterator<Item = &'t K> {
type Item = K;

fn iter(&self) -> impl Iterator<Item = &Self::Item> {
(&self).into_iter()
self.into_iter()
}
}

Expand All @@ -211,7 +211,7 @@ impl<T, K, V> IterTuple for T where for<'t> &'t T: IntoIterator<Item = (&'t K, &
type Value = V;

fn iter(&self) -> impl Iterator<Item = (&Self::Key, &Self::Value)> {
(&self).into_iter()
self.into_iter()
}
}

Expand Down

0 comments on commit 153d19b

Please sign in to comment.