Skip to content

Commit 88c689f

Browse files
committed
Improve multislice! documentation
1 parent 38460e0 commit 88c689f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/slice.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,8 +662,8 @@ pub unsafe fn deref_raw_view_mut_into_view_mut_with_life<'a, A, D: Dimension>(
662662
/// disjoint).
663663
///
664664
/// The syntax is `multislice!(` *expression, (pattern [, pattern [, …]])* `)`,
665-
/// where *expression* evaluates to an `ArrayBase<S, D>` where `S: DataMut`,
666-
/// and `pattern` is one of the following:
665+
/// where *expression* evaluates to a mutable array, and `pattern` is one of
666+
/// the following:
667667
///
668668
/// * `mut expr`: creates an `ArrayViewMut`, where `expr` evaluates to a
669669
/// `&SliceInfo` instance used to slice the array.

0 commit comments

Comments
 (0)