diff --git a/src/enclosing.rs b/src/enclosing.rs index 20a9973..1bd156a 100644 --- a/src/enclosing.rs +++ b/src/enclosing.rs @@ -142,12 +142,16 @@ pub trait Enclosing: Clone { bounds: &mut ArrayVec, { D + 1 }>, ) -> Option { // Take point from back. - if let Some(point) = points.pop_back() && !bounds.is_full() { + if let Some(point) = points.pop_back() + && !bounds.is_full() + { let ball = maybe_grow(Self::RED_ZONE, Self::STACK_SIZE, || { // Branch with one point less. Self::enclosing_points_with_bounds(points, bounds) }); - if let Some(ball) = ball && ball.contains(&point) { + if let Some(ball) = ball + && ball.contains(&point) + { // Move point to back. points.push_back(point); Some(ball)