Correct a typo in interpret/memory.rs

This commit is contained in:
Felix Yan 2020-08-04 23:01:32 +08:00 committed by GitHub
parent 5f6bd6ec0a
commit 6d75d7c084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -952,7 +952,7 @@ pub fn copy_repeatedly(
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