Skip to content

Commit

Permalink
fix nit
Browse files Browse the repository at this point in the history
  • Loading branch information
djzin committed May 7, 2017
1 parent ca2fa97 commit fcc970a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/mem.rs
Expand Up @@ -468,7 +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
// Decaring `t` here avoids aligning the stack when this loop is unused
// Declaring `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;

Expand Down

0 comments on commit fcc970a

Please sign in to comment.