about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorOrson Peters <orsonpeters@gmail.com>2018-07-09 06:31:24 +0200
committerOrson Peters <orsonpeters@gmail.com>2018-07-09 06:31:24 +0200
commite529dfd590e6c7e0c19bbf0f3c72e34f25c0cfb8 (patch)
treebf310e3e568f661dc20086c8b216b0403252cdb5 /src
parent6faa295cecc7940526dc467e39ce20e652851cfb (diff)
downloadrust-e529dfd590e6c7e0c19bbf0f3c72e34f25c0cfb8.tar.gz
rust-e529dfd590e6c7e0c19bbf0f3c72e34f25c0cfb8.zip
Removed a single trailing space. Oops.
Diffstat (limited to 'src')
-rw-r--r--src/liballoc/vec.rs2
1 files changed, 1 insertions, 1 deletions
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<T> Vec<T> {
     #[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];