Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ten0 committed Jun 2, 2024
1 parent 285d494 commit 9b3e953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/groupbylazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ where
/// references in the underlying iterators instead of reference counts,
/// resulting in one less allocation. You may however hit lifetime
/// errors if you require full ownership.
pub fn borrowed_iter<'a>(&'a self) -> <&'a Self as IntoIterator>::IntoIter {
pub fn borrowed_iter(&self) -> <&Self as IntoIterator>::IntoIter {
self.into_iter()
}
}
Expand Down Expand Up @@ -589,7 +589,7 @@ where
/// references in the underlying iterators instead of reference counts,
/// resulting in one less allocation. You may however hit lifetime
/// errors if you require full ownership.
pub fn borrowed_iter<'a>(&'a self) -> <&'a Self as IntoIterator>::IntoIter {
pub fn borrowed_iter(&self) -> <&Self as IntoIterator>::IntoIter {
self.into_iter()
}

Check warning on line 594 in src/groupbylazy.rs

View check run for this annotation

Codecov / codecov/patch

src/groupbylazy.rs#L592-L594

Added lines #L592 - L594 were not covered by tests
}
Expand Down

0 comments on commit 9b3e953

Please sign in to comment.