From: Mark Thom Date: Fri, 3 Feb 2017 07:49:16 +0000 (-0700) Subject: add dumb comments X-Git-Tag: v0.8.110~778 X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=refs%2Fremotes%2Forigin%2Fl1_final;p=scryer-prolog.git add dumb comments --- 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);