about summary refs log tree commit diff
path: root/library/alloc/src/vec/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/alloc/src/vec/mod.rs')
-rw-r--r--library/alloc/src/vec/mod.rs2
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