Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
avantgardnerio committed Dec 4, 2024
1 parent 6ca22df commit 24e34a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions arrow-buffer/src/util/bit_iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl<'a> BitIterator<'a> {
}
}

impl<'a> Iterator for BitIterator<'a> {
impl Iterator for BitIterator {
type Item = bool;

fn next(&mut self) -> Option<Self::Item> {
Expand All @@ -68,9 +68,9 @@ impl<'a> Iterator for BitIterator<'a> {
}
}

impl<'a> ExactSizeIterator for BitIterator<'a> {}
impl ExactSizeIterator for BitIterator {}

impl<'a> DoubleEndedIterator for BitIterator<'a> {
impl DoubleEndedIterator for BitIterator {
fn next_back(&mut self) -> Option<Self::Item> {
if self.current_offset == self.end_offset {
return None;
Expand Down Expand Up @@ -133,7 +133,7 @@ impl<'a> BitSliceIterator<'a> {
}
}

impl<'a> Iterator for BitSliceIterator<'a> {
impl Iterator for BitSliceIterator {
type Item = (usize, usize);

fn next(&mut self) -> Option<Self::Item> {
Expand Down Expand Up @@ -206,7 +206,7 @@ impl<'a> BitIndexIterator<'a> {
}
}

impl<'a> Iterator for BitIndexIterator<'a> {
impl Iterator for BitIndexIterator {
type Item = usize;

fn next(&mut self) -> Option<Self::Item> {
Expand Down
2 changes: 1 addition & 1 deletion object_store/src/path/parts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl From<String> for PathPart<'static> {
}
}

impl<'a> AsRef<str> for PathPart<'a> {
impl AsRef<str> for PathPart {
fn as_ref(&self) -> &str {
self.raw.as_ref()
}
Expand Down

0 comments on commit 24e34a1

Please sign in to comment.