Skip to content

Commit

Permalink
Rollup merge of rust-lang#75149 - felixonmars:patch-1, r=wesleywiser
Browse files Browse the repository at this point in the history
Correct a typo in interpret/memory.rs
  • Loading branch information
Manishearth authored Aug 5, 2020
2 parents 74f3561 + 6d75d7c commit fdb4a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/interpret/memory.rs
Original file line number Diff line number Diff line change
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 fdb4a5f

Please sign in to comment.