From f46e3ba308ffae06a6fdc7f6e2ecd1108519f021 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Sat, 20 Oct 2018 13:42:25 +0200 Subject: [PATCH] Rename alloc_map_ref to alloc_map --- 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 9fd4068a22f7..9adca6c42979 100644 --- a/src/librustc_mir/interpret/memory.rs +++ b/src/librustc_mir/interpret/memory.rs @@ -605,7 +605,7 @@ impl<'a, 'mir, 'tcx, M: Machine<'a, 'mir, 'tcx>> Memory<'a, 'mir, 'tcx, M> { } /// This is used by [priroda](https://github.com/oli-obk/priroda) - pub fn alloc_map_ref(&self) -> &M::MemoryMap { + pub fn alloc_map(&self) -> &M::MemoryMap { &self.alloc_map } }