Skip to content

Commit

Permalink
Remove unnecessary bindings and conversions.
Browse files Browse the repository at this point in the history
  • Loading branch information
olson-sean-k committed Nov 23, 2024
1 parent d2df2f8 commit bda9ac5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/integration/nalgebra.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}

Expand All @@ -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()
}
}

Expand Down Expand Up @@ -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()
}
}

Expand All @@ -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()
}
}

Expand Down

0 comments on commit bda9ac5

Please sign in to comment.