improve wording

This commit is contained in:
Djzin
2017-05-07 20:29:39 +01:00
parent 165f3668d6
commit ca2fa97b6c

View File

@@ -468,8 +468,7 @@ pub fn swap<T>(x: &mut T, y: &mut T) {
let mut i = 0; let mut i = 0;
while i + block_size as isize <= len { while i + block_size as isize <= len {
// Create some uninitialized memory as scratch space // Create some uninitialized memory as scratch space
// Moving the declaration of `t` here avoids aligning the stack when // Decaring `t` here avoids aligning the stack when this loop is unused
// this loop is unused
let mut t: Block = uninitialized(); let mut t: Block = uninitialized();
let t = &mut t as *mut _ as *mut u8; let t = &mut t as *mut _ as *mut u8;