Skip to content

Commit 0e33b70

Browse files
committed
Appeasing clippy
1 parent 7dec363 commit 0e33b70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vector/geometry.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl CoordinateLayout {
5555

5656
/// Check the number of dimensions for the [`CoordinateLayout`].
5757
pub fn num_dims(&self) -> usize {
58-
(*self as u8).count_ones() as usize - 1 * self.has_dim(CoordinateDim::AoS) as usize
58+
(*self as u8).count_ones() as usize - self.has_dim(CoordinateDim::AoS) as usize
5959
}
6060
}
6161

0 commit comments

Comments
 (0)