Fix comment in `RawVec::into_box()`

This commit is contained in:
Tim Diekmann 2020-03-25 18:39:52 +01:00
parent c1fa02331a
commit 42a8547038
1 changed files with 1 additions and 1 deletions

View File

@ -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.)