Skip to content

Commit 42a8547

Browse files
committed
Fix comment in RawVec::into_box()
1 parent c1fa023 commit 42a8547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/raw_vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ impl<T, A: AllocRef> RawVec<T, A> {
568568
}
569569

570570
impl<T> RawVec<T, Global> {
571-
/// Converts the entire buffer into `Box<[T]>` with the specified `len`.
571+
/// Converts the entire buffer into `Box<[MaybeUninit<T>]>` with the specified `len`.
572572
///
573573
/// Note that this will correctly reconstitute any `cap` changes
574574
/// that may have been performed. (See description of type for details.)

0 commit comments

Comments
 (0)