about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorTim Diekmann <tim.diekmann@3dvision.de>2020-03-25 18:39:52 +0100
committerTim Diekmann <tim.diekmann@3dvision.de>2020-03-26 17:12:35 +0100
commit42a8547038bde637d050b1b2688c540b04baed9e (patch)
tree697409a8b0de112e7687022537512124e428cbc9 /src/liballoc
parentc1fa02331ad60e73569f8351401f183089ff89bf (diff)
downloadrust-42a8547038bde637d050b1b2688c540b04baed9e.tar.gz
rust-42a8547038bde637d050b1b2688c540b04baed9e.zip
Fix comment in `RawVec::into_box()`
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/raw_vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/raw_vec.rs b/src/liballoc/raw_vec.rs
index a51d30448d1..f1b96c9dd9d 100644
--- a/src/liballoc/raw_vec.rs
+++ b/src/liballoc/raw_vec.rs
@@ -568,7 +568,7 @@ impl<T, A: AllocRef> RawVec<T, A> {
 }
 
 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.)