From 3cc80b7a94653f2c3d180498b377827f340053f5 Mon Sep 17 00:00:00 2001 From: ondra05 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 5b0ff37..0906698 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, }