Change wording

This commit is contained in:
Michael Howell 2021-03-25 02:58:34 -07:00 committed by GitHub
parent b3321e2860
commit ef1bd5776d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2795,8 +2795,8 @@ where
#[cfg(not(test))]
#[stable(feature = "vec_from_box", since = "1.18.0")]
impl<T, A: Allocator> From<Box<[T], A>> for Vec<T, A> {
/// Convert a boxed slice into a vector.
/// No heap allocation is performed, and the items are not copied.
/// Convert a boxed slice into a vector by transferring ownership of
/// the existing heap allocation.
///
/// # Examples
///