Skip to content

Commit 87506b8

Browse files
authored
Merge pull request #1056 from jimblandy/doc-fixes
Minor doc fixes: broken links, commas.
2 parents d03a55a + 25516c2 commit 87506b8

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

src/impl_methods.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -2477,13 +2477,16 @@ where
24772477
/// owned array with the new values. Works for **any** `F: FnMut(A)->B`.
24782478
///
24792479
/// If `A` and `B` are the same type then the map is performed by delegating
2480-
/// to [`mapv_into()`] and then converting into an owned array. This avoids
2481-
/// unnecessary memory allocations in [`mapv()`].
2480+
/// to [`mapv_into`] and then converting into an owned array. This avoids
2481+
/// unnecessary memory allocations in [`mapv`].
24822482
///
24832483
/// If `A` and `B` are different types then a new array is allocated and the
2484-
/// map is performed as in [`mapv()`].
2484+
/// map is performed as in [`mapv`].
24852485
///
24862486
/// Elements are visited in arbitrary order.
2487+
///
2488+
/// [`mapv_into`]: ArrayBase::mapv_into
2489+
/// [`mapv`]: ArrayBase::mapv
24872490
pub fn mapv_into_any<B, F>(self, mut f: F) -> Array<B, D>
24882491
where
24892492
S: DataMut,

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
//! The `ndarray` crate provides an *n*-dimensional container for general elements
2525
//! and for numerics.
2626
//!
27-
//! In *n*-dimensional we include for example 1-dimensional rows or columns,
27+
//! In *n*-dimensional we include, for example, 1-dimensional rows or columns,
2828
//! 2-dimensional matrices, and higher dimensional arrays. If the array has *n*
2929
//! dimensions, then an element in the array is accessed by using that many indices.
3030
//! Each dimension is also called an *axis*.

0 commit comments

Comments
 (0)