File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/doc/ndarray_for_numpy_users Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 111111//! When slicing in `ndarray`, the axis is first sliced with `start..end`. Then if
112112//! `step` is positive, the first index is the front of the slice; if `step` is
113113//! negative, the first index is the back of the slice. This means that the
114- //! behavior is the same as NumPy except when `step < -1 `. See the docs for the
114+ //! behavior is different from NumPy when `step < 0 `. See the docs for the
115115//! [`s![]` macro][s!] for more details.
116116//!
117117//! </td>
246246//! methods [`.slice_mut()`][.slice_mut()], [`.slice_move()`][.slice_move()], and
247247//! [`.slice_collapse()`][.slice_collapse()].
248248//!
249- //! * The behavior of slicing is slightly different from NumPy for slices with
250- //! `step < -1 `. See the docs for the [`s![]` macro][s!] for more details.
249+ //! * The behavior of slicing is different from NumPy for slices with
250+ //! `step < 0 `. See the docs for the [`s![]` macro][s!] for more details.
251251//!
252252//! NumPy | `ndarray` | Notes
253253//! ------|-----------|------
You can’t perform that action at this time.
0 commit comments