Skip to content

Commit 778575f

Browse files
committed
DOC: Link some more methods in docs
1 parent 15e6973 commit 778575f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/lib.rs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@
5353
//! - Performance:
5454
//! + Prefer higher order methods and arithmetic operations on arrays first,
5555
//! then iteration, and as a last priority using indexed algorithms.
56-
//! + The higher order functions like ``.map()``, ``.map_inplace()``,
57-
//! ``.zip_mut_with()``, ``Zip`` and ``azip!()`` are the most efficient ways
56+
//! + The higher order functions like [`.map()`](ArrayBase::map),
57+
//! [`.map_inplace()`](ArrayBase::map_inplace), [`.zip_mut_with()`](ArrayBase::zip_mut_with),
58+
//! [`Zip`] and [`azip!()`](azip) are the most efficient ways
5859
//! to perform single traversal and lock step traversal respectively.
5960
//! + Performance of an operation depends on the memory layout of the array
6061
//! or array view. Especially if it's a binary operation, which
@@ -300,9 +301,10 @@ pub type Ixs = isize;
300301
/// Please see the documentation for the respective array view for an overview
301302
/// of methods specific to array views: [`ArrayView`], [`ArrayViewMut`].
302303
///
303-
/// A view is created from an array using `.view()`, `.view_mut()`, using
304-
/// slicing (`.slice()`, `.slice_mut()`) or from one of the many iterators
305-
/// that yield array views.
304+
/// A view is created from an array using [`.view()`](ArrayBase::view),
305+
/// [`.view_mut()`](ArrayBase::view_mut), using
306+
/// slicing ([`.slice()`](ArrayBase::slice), [`.slice_mut()`](ArrayBase::slice_mut)) or from one of
307+
/// the many iterators that yield array views.
306308
///
307309
/// You can also create an array view from a regular slice of data not
308310
/// allocated with `Array` — see array view methods or their `From` impls.

0 commit comments

Comments
 (0)