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);