about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2018-10-20 13:42:25 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2018-10-21 15:49:20 +0200
commitf46e3ba308ffae06a6fdc7f6e2ecd1108519f021 (patch)
tree0f628fa98becfecb5548da8ee2070393233f5bed
parent825b55e76333e5d0d71ef0a0f603f25901bc45ed (diff)
downloadrust-f46e3ba308ffae06a6fdc7f6e2ecd1108519f021.tar.gz
rust-f46e3ba308ffae06a6fdc7f6e2ecd1108519f021.zip
Rename alloc_map_ref to alloc_map
-rw-r--r--src/librustc_mir/interpret/memory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/memory.rs b/src/librustc_mir/interpret/memory.rs
index 9fd4068a22f..9adca6c4297 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
     }
 }