Skip to content

Commit d3ff47c

Browse files
committed
Edit docs for axis_iter: fix example
1 parent 8142bce commit d3ff47c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ impl<A, S, D> ArrayBase<S, D> where S: Data<Elem=A>, D: Dimension
12341234
///
12351235
/// For example, in a 2 × 2 × 3 array, with `axis` equal to 1,
12361236
/// the iterator element
1237-
/// is a 2 × 2 subview (and there are 3 in total).
1237+
/// is a 2 × 3 subview (and there are 2 in total).
12381238
///
12391239
/// Iterator element is `ArrayView<A, D::Smaller>` (read-only array view).
12401240
///

0 commit comments

Comments
 (0)