Skip to content

Commit 4d9641d

Browse files
committed
DOC: Mini edits for doc comments - typos and language fixes
1 parent d5b61ba commit 4d9641d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/impl_methods.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,8 +1151,8 @@ where
11511151
/// The windows are all distinct overlapping views of size `window_size`
11521152
/// that fit into the array's shape.
11531153
///
1154-
/// Will yield over no elements if window size is larger
1155-
/// than the actual array size of any dimension.
1154+
/// This produces no elements if the window size is larger than the actual array size along any
1155+
/// axis.
11561156
///
11571157
/// The produced element is an `ArrayView<A, D>` with exactly the dimension
11581158
/// `window_size`.

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,7 +1362,7 @@ pub type ArrayViewMut<'a, A, D> = ArrayBase<ViewRepr<&'a mut A>, D>;
13621362
///
13631363
/// # Warning
13641364
///
1365-
/// You can't use this type wih an arbitrary raw pointer; see
1365+
/// You can't use this type with an arbitrary raw pointer; see
13661366
/// [`from_shape_ptr`](#method.from_shape_ptr) for details.
13671367
pub type RawArrayView<A, D> = ArrayBase<RawViewRepr<*const A>, D>;
13681368

@@ -1387,7 +1387,7 @@ pub type RawArrayView<A, D> = ArrayBase<RawViewRepr<*const A>, D>;
13871387
///
13881388
/// # Warning
13891389
///
1390-
/// You can't use this type wih an arbitrary raw pointer; see
1390+
/// You can't use this type with an arbitrary raw pointer; see
13911391
/// [`from_shape_ptr`](#method.from_shape_ptr) for details.
13921392
pub type RawArrayViewMut<A, D> = ArrayBase<RawViewRepr<*mut A>, D>;
13931393

0 commit comments

Comments
 (0)