Skip to content

Commit 183ad41

Browse files
committed
DOC: Fix typo in Array::from_shape_fn doc
1 parent d4bb851 commit 183ad41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/impl_constructors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ impl<S, A, D> ArrayBase<S, D>
232232
/// Create an array with values created by the function `f`.
233233
///
234234
/// `f` is called with the index of the element to create; the elements are
235-
/// visited in arbitirary order.
235+
/// visited in arbitrary order.
236236
///
237237
/// **Panics** if the product of non-zero axis lengths overflows `isize`.
238238
pub fn from_shape_fn<Sh, F>(shape: Sh, f: F) -> Self

0 commit comments

Comments
 (0)