From 0c17344afec6750da5dbd0d33cbb0f95d89b1a9a Mon Sep 17 00:00:00 2001 From: Mark Thom Date: Fri, 3 Feb 2017 00:49:16 -0700 Subject: [PATCH] add dumb comments --- src/l1/machine.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/l1/machine.rs b/src/l1/machine.rs index c1bdd375..725d0f89 100644 --- a/src/l1/machine.rs +++ b/src/l1/machine.rs @@ -182,6 +182,8 @@ impl Machine { match instr { &QueryInstruction::Call(ref name, arity) => { // why is Option<&T> not Deref?!?!? + // is it because if the value is None, there's nothing to + // dereference? let compiled_fact_index = self.code_dir.get(&(name.clone(), arity)) .map(|index| *index); -- 2.54.0