From 0cd71678e17973ed40f898101d01588bf6f6757a Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Fri, 26 Jul 2019 17:44:11 +0200 Subject: [PATCH] Update src/librustc_mir/interpret/memory.rs Co-Authored-By: Ralf Jung --- src/librustc_mir/interpret/memory.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/interpret/memory.rs b/src/librustc_mir/interpret/memory.rs index 1981a239a119..4575784ac370 100644 --- a/src/librustc_mir/interpret/memory.rs +++ b/src/librustc_mir/interpret/memory.rs @@ -555,7 +555,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> { }, Some(GlobalAlloc::Memory(alloc)) => // Need to duplicate the logic here, because the global allocations have - // different associated types than the interpreter-local ones + // different associated types than the interpreter-local ones. Ok((Size::from_bytes(alloc.bytes.len() as u64), alloc.align)), Some(GlobalAlloc::Function(_)) => { if let AllocCheck::Dereferencable = liveness {