Rollup merge of #75149 - felixonmars:patch-1, r=wesleywiser

Correct a typo in interpret/memory.rs
This commit is contained in:
Yuki Okushi 2020-08-05 11:40:08 +09:00 committed by GitHub
commit 7123daff53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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