From e529dfd590e6c7e0c19bbf0f3c72e34f25c0cfb8 Mon Sep 17 00:00:00 2001 From: Orson Peters Date: Mon, 9 Jul 2018 06:31:24 +0200 Subject: Removed a single trailing space. Oops. --- src/liballoc/vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs index 98660fe415d..5efe1e23309 100644 --- a/src/liballoc/vec.rs +++ b/src/liballoc/vec.rs @@ -810,7 +810,7 @@ impl Vec { #[stable(feature = "rust1", since = "1.0.0")] pub fn swap_remove(&mut self, index: usize) -> T { unsafe { - // We replace self[index] with the last element. Note that if the + // We replace self[index] with the last element. Note that if the // bounds check on hole succeeds there must be a last element (which // can be self[index] itself). let hole: *mut T = &mut self[index]; -- cgit 1.4.1-3-g733a5