From b4be08a66692e5f9aa15b14b233d88e626f5c605 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 30 Jun 2019 15:35:39 +0200 Subject: [PATCH] fix for tidy --- 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 bed531504d3e..0bd732eb31d6 100644 --- a/src/librustc_mir/interpret/memory.rs +++ b/src/librustc_mir/interpret/memory.rs @@ -154,7 +154,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> { let id = match fn_val { FnVal::Instance(instance) => self.tcx.alloc_map.lock().create_fn_alloc(instance), FnVal::Other(extra) => { - // TODO: Should we have a cache here? + // FIXME(RalfJung): Should we have a cache here? let id = self.tcx.alloc_map.lock().reserve(); let old = self.extra_fn_ptr_map.insert(id, extra); assert!(old.is_none());