diff options
| author | Djzin <djzin@users.noreply.github.com> | 2017-05-07 20:29:39 +0100 |
|---|---|---|
| committer | Djzin <djzin@users.noreply.github.com> | 2017-05-07 20:29:39 +0100 |
| commit | ca2fa97b6ca858a1c7748d117f5ed096b185380a (patch) | |
| tree | d05f4efc1cd32ab7640877116d8c10c702870848 /src/libcore | |
| parent | 165f3668d602c4eaa02125cf86fb8d12719cb441 (diff) | |
| download | rust-ca2fa97b6ca858a1c7748d117f5ed096b185380a.tar.gz rust-ca2fa97b6ca858a1c7748d117f5ed096b185380a.zip | |
improve wording
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/mem.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/mem.rs b/src/libcore/mem.rs index 2dc1f0e04bc..5fb30a9abfe 100644 --- a/src/libcore/mem.rs +++ b/src/libcore/mem.rs @@ -468,8 +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 - // Moving the declaration of `t` here avoids aligning the stack when - // this loop is unused + // Decaring `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; |
