Skip to content

Commit 9af1fcb

Browse files
hellow554phimuemue
authored andcommitted
allow clippy::manual_assert in tests
1 parent c3027a9 commit 9af1fcb

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
@@ -258,6 +258,7 @@ where
258258
let mut it = get_it();
259259

260260
for _ in 0..(counts.len() - 1) {
261+
#[allow(clippy::manual_assert)]
261262
if it.next().is_none() {
262263
panic!("Iterator shouldn't be finished, may not be deterministic");
263264
}

0 commit comments

Comments
 (0)