We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f0a72a commit c264ecfCopy full SHA for c264ecf
src/impl_methods.rs
@@ -557,7 +557,7 @@ where
557
where
558
F: FnMut(AxisDescription) -> Slice,
559
{
560
- (0..self.ndim()).for_each(|ax| {
+ for ax in 0..self.ndim() {
561
self.slice_axis_inplace(
562
Axis(ax),
563
f(AxisDescription {
@@ -566,7 +566,7 @@ where
566
stride: self.strides[ax] as isize,
567
}),
568
)
569
- })
+ }
570
}
571
572
/// Return a reference to the element at `index`, or return `None`
0 commit comments