]> git.lizzy.rs Git - rust.git/commitdiff
Fix comment in `RawVec::into_box()`
authorTim Diekmann <tim.diekmann@3dvision.de>
Wed, 25 Mar 2020 17:39:52 +0000 (18:39 +0100)
committerTim Diekmann <tim.diekmann@3dvision.de>
Thu, 26 Mar 2020 16:12:35 +0000 (17:12 +0100)
src/liballoc/raw_vec.rs

index a51d30448d1326c349a245a4901626089137a4a0..f1b96c9dd9ded468b877d71ac53d394804c32ca1 100644 (file)
@@ -568,7 +568,7 @@ fn shrink(
 }
 
 impl<T> RawVec<T, Global> {
-    /// Converts the entire buffer into `Box<[T]>` with the specified `len`.
+    /// Converts the entire buffer into `Box<[MaybeUninit<T>]>` with the specified `len`.
     ///
     /// Note that this will correctly reconstitute any `cap` changes
     /// that may have been performed. (See description of type for details.)