Skip to content

Commit 8b89d76

Browse files
committed
Revert change to first sentence in docs for From<Vec<T, A>>::from
1 parent f0c9fcc commit 8b89d76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/vec/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3291,7 +3291,7 @@ impl<T, A: Allocator> From<Box<[T], A>> for Vec<T, A> {
32913291
#[cfg(not(test))]
32923292
#[stable(feature = "box_from_vec", since = "1.20.0")]
32933293
impl<T, A: Allocator> From<Vec<T, A>> for Box<[T], A> {
3294-
/// Converts a vector into [`Box<[T]>`][owned slice].
3294+
/// Convert a vector into a boxed slice.
32953295
///
32963296
/// Before doing the conversion, this method discards excess capacity like [`Vec::shrink_to_fit`].
32973297
///

0 commit comments

Comments
 (0)