fix typo in library/alloc/src/vec/mod.rs
Co-authored-by: the8472 <the8472@users.noreply.github.com>
This commit is contained in:
parent
cd6dad641c
commit
476a57a628
1 changed files with 1 additions and 1 deletions
|
@ -1828,7 +1828,7 @@ impl<T, A: Allocator> Vec<T, A> {
|
||||||
self.split_at_spare_mut().1
|
self.split_at_spare_mut().1
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns vector content as a slice of `T`, among with the remaining spare
|
/// Returns vector content as a slice of `T`, along with the remaining spare
|
||||||
/// capacity of the vector as a slice of `MaybeUninit<T>`.
|
/// capacity of the vector as a slice of `MaybeUninit<T>`.
|
||||||
///
|
///
|
||||||
/// The returned spare capacity slice can be used to fill the vector with data
|
/// The returned spare capacity slice can be used to fill the vector with data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue