diff --git a/src/integration/nalgebra.rs b/src/integration/nalgebra.rs index 6efb038..a47f4d9 100644 --- a/src/integration/nalgebra.rs +++ b/src/integration/nalgebra.rs @@ -229,8 +229,7 @@ where type Output = [T; 2]; fn into_items(self) -> Self::Output { - let array: [T; 2] = self.into(); - array.into() + self.into() } } @@ -241,8 +240,7 @@ where type Output = [T; 3]; fn into_items(self) -> Self::Output { - let array: [T; 3] = self.into(); - array.into() + self.into() } } @@ -564,8 +562,7 @@ where type Output = [T; 2]; fn into_items(self) -> Self::Output { - let array: [T; 2] = self.coords.into(); - array.into() + self.coords.into() } } @@ -576,8 +573,7 @@ where type Output = [T; 3]; fn into_items(self) -> Self::Output { - let array: [T; 3] = self.coords.into(); - array.into() + self.coords.into() } }