Apply clippy suggestions
This commit is contained in:
parent
15491d7b6b
commit
71dd0b928b
22 changed files with 55 additions and 70 deletions
|
@ -75,7 +75,7 @@ impl<T> SsoHashSet<T> {
|
|||
/// An iterator visiting all elements in arbitrary order.
|
||||
/// The iterator element type is `&'a T`.
|
||||
#[inline]
|
||||
pub fn iter(&'a self) -> impl Iterator<Item = &'a T> {
|
||||
pub fn iter(&self) -> impl Iterator<Item = &T> {
|
||||
self.into_iter()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue