Skip to content

Commit ca2fa97

Browse files
committed
improve wording
1 parent 165f366 commit ca2fa97

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libcore/mem.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,7 @@ pub fn swap<T>(x: &mut T, y: &mut T) {
468468
let mut i = 0;
469469
while i + block_size as isize <= len {
470470
// Create some uninitialized memory as scratch space
471-
// Moving the declaration of `t` here avoids aligning the stack when
472-
// this loop is unused
471+
// Decaring `t` here avoids aligning the stack when this loop is unused
473472
let mut t: Block = uninitialized();
474473
let t = &mut t as *mut _ as *mut u8;
475474

0 commit comments

Comments
 (0)