From 532d557772fcf321e3b44d3e1e538ae69b095907 Mon Sep 17 00:00:00 2001 From: Dan Mack Date: Wed, 9 May 2018 09:39:12 -0500 Subject: [PATCH] DOC: Fix spelling and white space in docstrings Signed-off-by: Dan Mack --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 0682f72f4..9f05581b1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -44,7 +44,7 @@ //! - Performance: //! + Prefer higher order methods and arithmetic operations on arrays first, //! then iteration, and as a last priority using indexed algorithms. -//! + The higher order functions like ``.map()``, ``.map_inplace()``, +//! + The higher order functions like ``.map()``, ``.map_inplace()``, //! ``.zip_mut_with()``, ``Zip`` and ``azip!()`` are the most efficient ways //! to perform single traversal and lock step traversal respectively. //! + Performance of an operation depends on the memory layout of the array @@ -239,7 +239,7 @@ pub type Ixs = isize; /// /// ## `Array` /// -/// [`Array`](type.Array.html) is an owned array that ows the underlying array +/// [`Array`](type.Array.html) is an owned array that owns the underlying array /// elements directly (just like a `Vec`) and it is the default way to create and /// store n-dimensional data. `Array` has two type parameters: `A` for /// the element type, and `D` for the dimensionality. A particular @@ -380,7 +380,7 @@ pub type Ixs = isize; /// axis to traverse. /// /// The `outer_iter` and `axis_iter` are one dimensional producers. -/// +/// /// ## `.genrows()`, `.gencolumns()` and `.lanes()` /// /// [`.genrows()`][gr] is a producer (and iterable) of all rows in an array.