Skip to content

Commit c3027a9

Browse files
hellow554phimuemue
authored andcommitted
allow clippy::absurd_extreme_comparisons in tests
1 parent 700424b commit c3027a9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/quick.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,6 +1548,7 @@ quickcheck! {
15481548
fn counts(nums: Vec<isize>) -> TestResult {
15491549
let counts = nums.iter().counts();
15501550
for (&item, &count) in counts.iter() {
1551+
#[allow(clippy::absurd_extreme_comparisons)]
15511552
if count <= 0 {
15521553
return TestResult::failed();
15531554
}

0 commit comments

Comments
 (0)