Skip to content

Commit 307805e

Browse files
committed
Improve slicing example in RELEASES.md
1 parent 5d91d83 commit 307805e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RELEASES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ New features
77
- Support inserting new axes while slicing by [@jturner314]. This is an example:
88

99
```rust
10-
let view = arr.slice(s![.., -1, NewAxis, ..;-1]);
10+
let view = arr.slice(s![.., -1, 2..;-1, NewAxis]);
1111
```
1212

1313
https://github.com/rust-ndarray/ndarray/pull/570

0 commit comments

Comments
 (0)