]> git.lizzy.rs Git - rust.git/blobdiff - library/alloc/src/slice.rs
Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14
[rust.git] / library / alloc / src / slice.rs
index a5e7bf2a1a9f34ef3adfed7023bbaa6dece57585..1b61ede3476c336c3112867a32253dc86ee219ea 100644 (file)
@@ -458,7 +458,7 @@ pub fn into_vec<A: Allocator>(self: Box<Self, A>) -> Vec<T, A> {
         hack::into_vec(self)
     }
 
-    /// Creates a vector by repeating a slice `n` times.
+    /// Creates a vector by copying a slice `n` times.
     ///
     /// # Panics
     ///