Skip to content

Commit

Permalink
Correct a typo in interpret/memory.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
felixonmars committed Aug 4, 2020
1 parent 5f6bd6e commit 6d75d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/interpret/memory.rs
Expand Up @@ -952,7 +952,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> {

if compressed.no_bytes_init() {
// Fast path: If all bytes are `uninit` then there is nothing to copy. The target range
// is marked as unititialized but we otherwise omit changing the byte representation which may
// is marked as uninitialized but we otherwise omit changing the byte representation which may
// be arbitrary for uninitialized bytes.
// This also avoids writing to the target bytes so that the backing allocation is never
// touched if the bytes stay uninitialized for the whole interpreter execution. On contemporary
Expand Down

0 comments on commit 6d75d7c

Please sign in to comment.