Skip to content

Commit fb83d8b

Browse files
committed
Make clippy happy
I used #[allow(clippy::collapsible_if)] here since I think this looks easier to read.
1 parent 71a93d1 commit fb83d8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fuzz/fuzz_targets/fuzz.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ impl<const D: usize> Workload<D> {
416416
.ok()
417417
.map(|s| usize::from_str(&s).expect("MAX_SHAPES"))
418418
{
419+
#[allow(clippy::collapsible_if)]
419420
if !self.mutations.is_empty() || self.shapes.len() > max_shapes {
420421
return;
421422
}

0 commit comments

Comments
 (0)