Skip to content

Commit 235838a

Browse files
committed
DOC: Fix typos in split_at doc
The indices in the text updated to match the illustration.
1 parent 5a94f7b commit 235838a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/impl_views/splitting.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ where
4444
/// both 0 and the endpoint are valid split indices.
4545
///
4646
/// **Example 1**: Split `a` along the first axis, in this case the rows, at
47-
/// index 1.<br>
48-
/// This produces views v1 and v2 of shapes 1 × 4 and 2 × 4:
47+
/// index 2.<br>
48+
/// This produces views v1 and v2 of shapes 2 × 4 and 1 × 4:
4949
///
5050
/// ```rust
5151
/// # use ndarray::prelude::*;

0 commit comments

Comments
 (0)