Skip to content

Commit fcc970a

Browse files
committed
fix nit
1 parent ca2fa97 commit fcc970a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/mem.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +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-
// Decaring `t` here avoids aligning the stack when this loop is unused
471+
// Declaring `t` here avoids aligning the stack when this loop is unused
472472
let mut t: Block = uninitialized();
473473
let t = &mut t as *mut _ as *mut u8;
474474

0 commit comments

Comments
 (0)