Fix comment in `RawVec::into_box()`
This commit is contained in:
parent
c1fa02331a
commit
42a8547038
|
@ -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.)
|
||||
|
|
Loading…
Reference in New Issue