From ca2fa97b6ca858a1c7748d117f5ed096b185380a Mon Sep 17 00:00:00 2001 From: Djzin Date: Sun, 7 May 2017 20:29:39 +0100 Subject: [PATCH] improve wording --- src/libcore/mem.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs index 2dc1f0e04bcc..5fb30a9abfec 100644 --- a/src/libcore/mem.rs +++ b/src/libcore/mem.rs @@ -468,8 +468,7 @@ pub fn swap(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;