about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-05-22 15:05:02 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-05-29 23:02:40 +0200
commita4a5fa293453c4ff9339f11c47eb7262925f7c12 (patch)
tree0a1fa97fd98ba07b6162d03ccc69908ff4d50c4a
parent2b5aa905003e2c7b44a9e79d41d86f4ac248b5ce (diff)
downloadrust-a4a5fa293453c4ff9339f11c47eb7262925f7c12.tar.gz
rust-a4a5fa293453c4ff9339f11c47eb7262925f7c12.zip
Review feedback: update fixme comment to reflect reality.
-rw-r--r--src/librustc_mir/interpret/step.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc_mir/interpret/step.rs b/src/librustc_mir/interpret/step.rs
index b9edd2c07f3..ab15278219f 100644
--- a/src/librustc_mir/interpret/step.rs
+++ b/src/librustc_mir/interpret/step.rs
@@ -79,9 +79,8 @@ impl<'a, 'mir, 'tcx, M: Machine<'mir, 'tcx>> EvalContext<'a, 'mir, 'tcx, M> {
                 self.deallocate_local(old_val)?;
             }
 
-            // FIXME: is there some dynamic semantics we should attach to
-            // these? Or am I correct in thinking that the inerpreter
-            // is solely intended for borrowck'ed code?
+            // No dynamic semantics attached to `ReadForMatch`; MIR
+            // interpreter is solely intended for borrowck'ed code.
             ReadForMatch(..) => {}
 
             // Validity checks.