This commit is contained in:
Erin 2022-05-06 17:30:41 +02:00 committed by ondra05
parent 241d3c4d2b
commit 5d48bd8df4

View file

@ -278,7 +278,7 @@ impl ExecEnv {
Stmt::Loop { body } => loop { Stmt::Loop { body } => loop {
let res = self.eval_stmts_hs(body, true)?; let res = self.eval_stmts_hs(body, true)?;
match res { match res {
HaltStatus::Finished => {} HaltStatus::Finished => (),
HaltStatus::Break(_) => break, HaltStatus::Break(_) => break,
HaltStatus::Hopback(_) => continue, HaltStatus::Hopback(_) => continue,
} }