Skip to content

Commit 4dffdd9

Browse files
committed
allow clippy::unnecessary_lazy_evaluations
1 parent de354f4 commit 4dffdd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tuple_impl.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ where
5454
}
5555
}
5656

57+
#[allow(clippy::unnecessary_lazy_evaluations)] // buffer.len is more complex than usual
5758
fn size_hint(&self) -> (usize, Option<usize>) {
5859
let buffer = &self.buf.as_ref()[self.cur..];
5960
let len = if buffer.is_empty() {

0 commit comments

Comments
 (0)