Skip to content

Commit b4be08a

Browse files
committed
fix for tidy
1 parent 486720f commit b4be08a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> {
154154
let id = match fn_val {
155155
FnVal::Instance(instance) => self.tcx.alloc_map.lock().create_fn_alloc(instance),
156156
FnVal::Other(extra) => {
157-
// TODO: Should we have a cache here?
157+
// FIXME(RalfJung): Should we have a cache here?
158158
let id = self.tcx.alloc_map.lock().reserve();
159159
let old = self.extra_fn_ptr_map.insert(id, extra);
160160
assert!(old.is_none());

0 commit comments

Comments
 (0)