Skip to content

Commit e529dfd

Browse files
committed
Removed a single trailing space. Oops.
1 parent 6faa295 commit e529dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liballoc/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ impl<T> Vec<T> {
810810
#[stable(feature = "rust1", since = "1.0.0")]
811811
pub fn swap_remove(&mut self, index: usize) -> T {
812812
unsafe {
813-
// We replace self[index] with the last element. Note that if the
813+
// We replace self[index] with the last element. Note that if the
814814
// bounds check on hole succeeds there must be a last element (which
815815
// can be self[index] itself).
816816
let hole: *mut T = &mut self[index];

0 commit comments

Comments
 (0)