about summary refs log tree commit diff
diff options
context:
space:
mode:
authoryancy <yancy@yancy.lol>2022-11-07 17:02:48 +0100
committeryancy <yancy@yancy.lol>2022-11-07 17:02:48 +0100
commitf67ee43fe3675eed1a0d885a1ca196c9f73a8737 (patch)
treef8f2f54615e01419786d07ce6314d237c9868aa3
parent534ddc6166a9031b0c269544929d68f2539ea7a0 (diff)
downloadrust-f67ee43fe3675eed1a0d885a1ca196c9f73a8737.tar.gz
rust-f67ee43fe3675eed1a0d885a1ca196c9f73a8737.zip
rustdoc: Add mutable to the description
-rw-r--r--library/core/src/slice/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/core/src/slice/mod.rs b/library/core/src/slice/mod.rs
index 4f1bb17344b..c51e99b6627 100644
--- a/library/core/src/slice/mod.rs
+++ b/library/core/src/slice/mod.rs
@@ -3667,7 +3667,8 @@ impl<T> [T] {
         unsafe { self.align_to() }
     }
 
-    /// Split a slice into a prefix, a middle of aligned SIMD types, and a suffix.
+    /// Split a mutable slice into a mutable prefix, a middle of aligned SIMD types,
+    /// and a mutable suffix.
     ///
     /// This is a safe wrapper around [`slice::align_to_mut`], so has the same weak
     /// postconditions as that method.  You're only assured that