From 236db88d7a41613a7ea13d26c29218dc24b8cd8d Mon Sep 17 00:00:00 2001 From: AnonimAnonim2245 Date: Thu, 18 Jan 2024 15:01:19 +0200 Subject: [PATCH] optimized the UI code --- src/ui.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui.rs b/src/ui.rs index faaef293..9661f7b2 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -17,12 +17,12 @@ macro_rules! print_emoji { macro_rules! warn { ($fmt:literal, $ex:expr) => {{ - print_emoji!("⚠️ ", "!", red, $fmt ,$ex); + print_emoji!("⚠️ ", "!", red, $fmt, $ex); }}; } macro_rules! success { ($fmt:literal, $ex:expr) => {{ - print_emoji!("✅ ", "✓", green, $fmt ,$ex); + print_emoji!("✅ ", "✓", green, $fmt, $ex); }}; -} +} \ No newline at end of file