From aa29a1fc865e5887532825c83dc8791d2ae1aca8 Mon Sep 17 00:00:00 2001 From: Erin Date: Fri, 6 May 2022 17:30:41 +0200 Subject: [PATCH] {} -> () --- ablescript/src/interpret.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }