From 42a8547038bde637d050b1b2688c540b04baed9e Mon Sep 17 00:00:00 2001 From: Tim Diekmann Date: Wed, 25 Mar 2020 18:39:52 +0100 Subject: [PATCH] Fix comment in `RawVec::into_box()` --- src/liballoc/raw_vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 RawVec { } impl RawVec { - /// Converts the entire buffer into `Box<[T]>` with the specified `len`. + /// Converts the entire buffer into `Box<[MaybeUninit]>` with the specified `len`. /// /// Note that this will correctly reconstitute any `cap` changes /// that may have been performed. (See description of type for details.)