Skip to content

Commit 6d75d7c

Browse files
authored
Correct a typo in interpret/memory.rs
1 parent 5f6bd6e commit 6d75d7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/memory.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> {
952952

953953
if compressed.no_bytes_init() {
954954
// Fast path: If all bytes are `uninit` then there is nothing to copy. The target range
955-
// is marked as unititialized but we otherwise omit changing the byte representation which may
955+
// is marked as uninitialized but we otherwise omit changing the byte representation which may
956956
// be arbitrary for uninitialized bytes.
957957
// This also avoids writing to the target bytes so that the backing allocation is never
958958
// touched if the bytes stay uninitialized for the whole interpreter execution. On contemporary

0 commit comments

Comments
 (0)