improve wording
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user