diff --git a/src/reason.rs b/src/reason.rs index fd148c64..a3c41934 100644 --- a/src/reason.rs +++ b/src/reason.rs @@ -67,7 +67,7 @@ fn cant_reach( continue; }; - if at_edge && state == next_state && tape.scan == next_color + if at_edge && tape.scan == next_color && state == next_state { return false; }