Skip to content

Commit 911d71e

Browse files
Fixing typographical errors.
1 parent 9297295 commit 911d71e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/impl_methods.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ where
6969
self.dim.clone().into_pattern()
7070
}
7171

72-
/// Return the shape of the array as it stored in the array.
72+
/// Return the shape of the array as it's stored in the array.
7373
///
7474
/// This is primarily useful for passing to other `ArrayBase`
7575
/// functions, such as when creating another array of the same
@@ -630,7 +630,7 @@ where
630630
///
631631
/// The caller must ensure that:
632632
///
633-
/// 1. both `index1 and `index2` are in-bounds and
633+
/// 1. both `index1` and `index2` are in-bounds and
634634
///
635635
/// 2. the data is uniquely held by the array. (This property is guaranteed
636636
/// for `Array` and `ArrayViewMut`, but not for `ArcArray` or `CowArray`.)
@@ -929,7 +929,7 @@ where
929929
/// Return a producer and iterable that traverses over all 1D lanes
930930
/// pointing in the direction of `axis`.
931931
///
932-
/// When the pointing in the direction of the first axis, they are *columns*,
932+
/// When pointing in the direction of the first axis, they are *columns*,
933933
/// in the direction of the last axis *rows*; in general they are all
934934
/// *lanes* and are one dimensional.
935935
///
@@ -1198,7 +1198,7 @@ where
11981198
(len, stride)
11991199
}
12001200

1201-
/// Return an view of the diagonal elements of the array.
1201+
/// Return a view of the diagonal elements of the array.
12021202
///
12031203
/// The diagonal is simply the sequence indexed by *(0, 0, .., 0)*,
12041204
/// *(1, 1, ..., 1)* etc as long as all axes have elements.
@@ -1257,7 +1257,7 @@ where
12571257
/// Return `true` if the array data is laid out in contiguous “C order” in
12581258
/// memory (where the last index is the most rapidly varying).
12591259
///
1260-
/// Return `false` otherwise, i.e the array is possibly not
1260+
/// Return `false` otherwise, i.e. the array is possibly not
12611261
/// contiguous in memory, it has custom strides, etc.
12621262
pub fn is_standard_layout(&self) -> bool {
12631263
fn is_standard_layout<D: Dimension>(dim: &D, strides: &D) -> bool {

0 commit comments

Comments
 (0)