Skip to content

Commit

Permalink
DOC: Mini edits for doc comments - typos and language fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Jan 1, 2021
1 parent d5b61ba commit 4d9641d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/impl_methods.rs
Expand Up @@ -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<A, D>` with exactly the dimension
/// `window_size`.
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Expand Up @@ -1362,7 +1362,7 @@ pub type ArrayViewMut<'a, A, D> = ArrayBase<ViewRepr<&'a mut A>, 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<A, D> = ArrayBase<RawViewRepr<*const A>, D>;

Expand All @@ -1387,7 +1387,7 @@ pub type RawArrayView<A, D> = ArrayBase<RawViewRepr<*const A>, 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<A, D> = ArrayBase<RawViewRepr<*mut A>, D>;

Expand Down

0 comments on commit 4d9641d

Please sign in to comment.