diff --git a/ablescript/src/interpret.rs b/ablescript/src/interpret.rs index 5b0ff371..0906698f 100644 --- a/ablescript/src/interpret.rs +++ b/ablescript/src/interpret.rs @@ -278,7 +278,7 @@ impl ExecEnv { Stmt::Loop { body } => loop { let res = self.eval_stmts_hs(body, true)?; match res { - HaltStatus::Finished => {} + HaltStatus::Finished => (), HaltStatus::Break(_) => break, HaltStatus::Hopback(_) => continue, }