Skip to content

Commit

Permalink
Add clippy allow for existing code running afoul of new clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzgen committed Oct 11, 2023
1 parent 27560f1 commit f19fd7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ macro_rules! impl_range {

#[inline]
fn size_hint(depth: usize) -> (usize, Option<usize>) {
#[allow(clippy::redundant_closure_call)]
$size_hint_closure(depth)
}
}
Expand Down

0 comments on commit f19fd7a

Please sign in to comment.