From: Felix Yan Date: Tue, 4 Aug 2020 15:01:32 +0000 (+0800) Subject: Correct a typo in interpret/memory.rs X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=6d75d7c0843dc0f2b64b4427e3290222ef558227;p=rust.git Correct a typo in interpret/memory.rs --- diff --git a/src/librustc_mir/interpret/memory.rs b/src/librustc_mir/interpret/memory.rs index a9e6e324eb2..7dfa913fd08 100644 --- a/src/librustc_mir/interpret/memory.rs +++ b/src/librustc_mir/interpret/memory.rs @@ -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