about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/mem.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs
index 2dc1f0e04bc..5fb30a9abfe 100644
--- a/src/libcore/mem.rs
+++ b/src/libcore/mem.rs
@@ -468,8 +468,7 @@ pub fn swap<T>(x: &mut T, y: &mut T) {
         let mut i = 0;
         while i + block_size as isize <= len {
             // Create some uninitialized memory as scratch space
-            // Moving the declaration of `t` here avoids aligning the stack when
-            // this loop is unused
+            // Decaring `t` here avoids aligning the stack when this loop is unused
             let mut t: Block = uninitialized();
             let t = &mut t as *mut _ as *mut u8;