Skip to content

Commit beba5eb

Browse files
committed
Fix clippy lint
1 parent 32625a0 commit beba5eb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

fuzz/fuzz_targets/fuzz.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,11 +415,9 @@ impl<const D: usize> Workload<D> {
415415
if let Some(max_shapes) = env::var("MAX_SHAPES")
416416
.ok()
417417
.map(|s| usize::from_str(&s).expect("MAX_SHAPES"))
418-
{
419-
if !self.mutations.is_empty() || self.shapes.len() > max_shapes {
418+
&& (!self.mutations.is_empty() || self.shapes.len() > max_shapes) {
420419
return;
421420
}
422-
}
423421

424422
let mut bvh = Bvh::build(&mut self.shapes);
425423

0 commit comments

Comments
 (0)