From 4d9641db085e64729d52050ea0c24e4a541629a7 Mon Sep 17 00:00:00 2001 From: bluss Date: Fri, 1 Jan 2021 14:51:47 +0100 Subject: [PATCH] DOC: Mini edits for doc comments - typos and language fixes --- src/impl_methods.rs | 4 ++-- src/lib.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/impl_methods.rs b/src/impl_methods.rs index 09edbb15e..cccc195a1 100644 --- a/src/impl_methods.rs +++ b/src/impl_methods.rs @@ -1151,8 +1151,8 @@ where /// The windows are all distinct overlapping views of size `window_size` /// that fit into the array's shape. /// - /// Will yield over no elements if window size is larger - /// than the actual array size of any dimension. + /// This produces no elements if the window size is larger than the actual array size along any + /// axis. /// /// The produced element is an `ArrayView` with exactly the dimension /// `window_size`. diff --git a/src/lib.rs b/src/lib.rs index 14b4c0d6f..c0a3b2e85 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1362,7 +1362,7 @@ pub type ArrayViewMut<'a, A, D> = ArrayBase, D>; /// /// # Warning /// -/// You can't use this type wih an arbitrary raw pointer; see +/// You can't use this type with an arbitrary raw pointer; see /// [`from_shape_ptr`](#method.from_shape_ptr) for details. pub type RawArrayView = ArrayBase, D>; @@ -1387,7 +1387,7 @@ pub type RawArrayView = ArrayBase, D>; /// /// # Warning /// -/// You can't use this type wih an arbitrary raw pointer; see +/// You can't use this type with an arbitrary raw pointer; see /// [`from_shape_ptr`](#method.from_shape_ptr) for details. pub type RawArrayViewMut = ArrayBase, D>;