From 476a57a628ea358d01a2830db67e24149521f144 Mon Sep 17 00:00:00 2001 From: Waffle Lapkin Date: Wed, 3 Feb 2021 13:53:58 +0300 Subject: [PATCH] fix typo in library/alloc/src/vec/mod.rs Co-authored-by: the8472 --- library/alloc/src/vec/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs index 91535e9b527b..df449ca68032 100644 --- a/library/alloc/src/vec/mod.rs +++ b/library/alloc/src/vec/mod.rs @@ -1828,7 +1828,7 @@ impl Vec { 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`. /// /// The returned spare capacity slice can be used to fill the vector with data