]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_mir/interpret/memory.rs
Correct a typo in interpret/memory.rs
[rust.git] / src / librustc_mir / interpret / memory.rs
index a9e6e324eb23a7a26b126741aec7db673f7c6bd0..7dfa913fd08bd07b45daf49c22a829de9313f11d 100644 (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