Skip to content

Commit 0cd7167

Browse files
oli-obkRalfJung
andauthored
Update src/librustc_mir/interpret/memory.rs
Co-Authored-By: Ralf Jung <post@ralfj.de>
1 parent 6e04ca7 commit 0cd7167

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
@@ -555,7 +555,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> {
555555
},
556556
Some(GlobalAlloc::Memory(alloc)) =>
557557
// Need to duplicate the logic here, because the global allocations have
558-
// different associated types than the interpreter-local ones
558+
// different associated types than the interpreter-local ones.
559559
Ok((Size::from_bytes(alloc.bytes.len() as u64), alloc.align)),
560560
Some(GlobalAlloc::Function(_)) => {
561561
if let AllocCheck::Dereferencable = liveness {

0 commit comments

Comments
 (0)