Skip to content

Commit 2ad5885

Browse files
authored
Rollup merge of rust-lang#104111 - yancyribbens:add-mutable-to-the-description-for-as-simd-mut, r=scottmcm
rustdoc: Add mutable to the description Add mutable the description to differentiate [as_simd](https://github.com/rust-lang/rust/blob/master/library/core/src/slice/mod.rs#L3654) from [as_simd_mut](https://github.com/rust-lang/rust/blob/master/library/core/src/slice/mod.rs#L3654).
2 parents 2698b82 + f67ee43 commit 2ad5885

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)