From 89b2cca9f0901aa32ebb3b81dcafce9dead77c75 Mon Sep 17 00:00:00 2001 From: aycippo Date: Fri, 1 Dec 2023 08:04:14 -0800 Subject: [PATCH] bug: fixes duplicate macro definition --- src/macros.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/macros.rs b/src/macros.rs index 332fd3a..c97f824 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -14,7 +14,6 @@ // #[allow(unused_imports)] - use term; /// Sizes and zero fills a vector of bytes for a buffer. @@ -45,11 +44,10 @@ macro_rules! print_color { }; } - /// print_color! with quiet option. /// #[macro_export] -macro_rules! println_color_quiet { +macro_rules! print_color_quiet { ($quiet:expr, $color:expr, $($arg:tt)*) => { { if !$quiet { @@ -158,7 +156,6 @@ macro_rules! repeat_color_with_ends { } } - /// repeat_color! with quiet option. #[macro_export] macro_rules! repeat_color_quiet {