We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe06b67 commit a016b87Copy full SHA for a016b87
tests/quick.rs
@@ -258,12 +258,12 @@ where
258
let mut it = get_it();
259
260
for _ in 0..(counts.len() - 1) {
261
- if let None = it.next() {
+ if it.next().is_none() {
262
panic!("Iterator shouldn't be finished, may not be deterministic");
263
}
264
265
266
267
break 'outer;
268
269
0 commit comments