From ef1bd5776d9ba162a275772a8a31fa9d6b463e0a Mon Sep 17 00:00:00 2001 From: Michael Howell Date: Thu, 25 Mar 2021 02:58:34 -0700 Subject: Change wording --- library/alloc/src/vec/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'library/alloc/src') diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs index 69df60a7c3e..ff93c772b5b 100644 --- a/library/alloc/src/vec/mod.rs +++ b/library/alloc/src/vec/mod.rs @@ -2795,8 +2795,8 @@ where #[cfg(not(test))] #[stable(feature = "vec_from_box", since = "1.18.0")] impl From> for Vec { - /// 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 /// -- cgit 1.4.1-3-g733a5