Skip to content

Commit f67ee43

Browse files
committed
rustdoc: Add mutable to the description
1 parent 534ddc6 commit f67ee43

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/core/src/slice/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -3667,7 +3667,8 @@ impl<T> [T] {
36673667
unsafe { self.align_to() }
36683668
}
36693669

3670-
/// Split a slice into a prefix, a middle of aligned SIMD types, and a suffix.
3670+
/// Split a mutable slice into a mutable prefix, a middle of aligned SIMD types,
3671+
/// and a mutable suffix.
36713672
///
36723673
/// This is a safe wrapper around [`slice::align_to_mut`], so has the same weak
36733674
/// postconditions as that method. You're only assured that

0 commit comments

Comments
 (0)