diff options
| author | Waffle Lapkin <waffle.lapkin@gmail.com> | 2021-02-03 13:53:58 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-03 13:53:58 +0300 |
| commit | 476a57a628ea358d01a2830db67e24149521f144 (patch) | |
| tree | 5de6d21ea2b982f28c7f569e7db0be46cca33068 /library/alloc/src/vec | |
| parent | cd6dad641ca635f0c71d7dd0a34de8211939e8d9 (diff) | |
| download | rust-476a57a628ea358d01a2830db67e24149521f144.tar.gz rust-476a57a628ea358d01a2830db67e24149521f144.zip | |
fix typo in library/alloc/src/vec/mod.rs
Co-authored-by: the8472 <the8472@users.noreply.github.com>
Diffstat (limited to 'library/alloc/src/vec')
| -rw-r--r-- | library/alloc/src/vec/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs index 91535e9b527..df449ca6803 100644 --- a/library/alloc/src/vec/mod.rs +++ b/library/alloc/src/vec/mod.rs @@ -1828,7 +1828,7 @@ impl<T, A: Allocator> Vec<T, A> { 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>`. /// /// The returned spare capacity slice can be used to fill the vector with data |
