]> git.lizzy.rs Git - rust.git/blobdiff - library/alloc/src/boxed.rs
fix into_iter on ZST
[rust.git] / library / alloc / src / boxed.rs
index 67925941c92c65f4651afd691ac5bc58a4a26a38..65e323c9e00c3b1f5e2b5c452aea83c976e4da9b 100644 (file)
@@ -1485,7 +1485,7 @@ impl<T: Copy> From<&[T]> for Box<[T]> {
     /// Converts a `&[T]` into a `Box<[T]>`
     ///
     /// This conversion allocates on the heap
-    /// and performs a copy of `slice`.
+    /// and performs a copy of `slice` and its contents.
     ///
     /// # Examples
     /// ```rust