From 193783ab4270f7b64f6d2d95630352b2bd9058e8 Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Tue, 29 Jul 2025 11:30:30 +0200 Subject: [PATCH] Remove redundant `.collect()` --- crates/fj-math/src/aabb.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/fj-math/src/aabb.rs b/crates/fj-math/src/aabb.rs index 055a8f204..72f3673cc 100644 --- a/crates/fj-math/src/aabb.rs +++ b/crates/fj-math/src/aabb.rs @@ -87,10 +87,7 @@ impl Aabb<3> { pub fn from_points( points: impl IntoIterator>>, ) -> Self { - let points: Vec<_> = points - .into_iter() - .map(|point| point.into().to_na()) - .collect(); + let points = points.into_iter().map(|point| point.into().to_na()); parry3d_f64::bounding_volume::Aabb::from_points(points).into() }