Skip to content

Commit 476a57a

Browse files
fix typo in library/alloc/src/vec/mod.rs
Co-authored-by: the8472 <the8472@users.noreply.github.com>
1 parent cd6dad6 commit 476a57a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/vec/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ impl<T, A: Allocator> Vec<T, A> {
18281828
self.split_at_spare_mut().1
18291829
}
18301830

1831-
/// Returns vector content as a slice of `T`, among with the remaining spare
1831+
/// Returns vector content as a slice of `T`, along with the remaining spare
18321832
/// capacity of the vector as a slice of `MaybeUninit<T>`.
18331833
///
18341834
/// The returned spare capacity slice can be used to fill the vector with data

0 commit comments

Comments
 (0)