From 44ba518b8c4ee10619b49c582ec1c4fc0312bda5 Mon Sep 17 00:00:00 2001 From: Blake Mealey Date: Tue, 9 Nov 2021 17:46:44 -0600 Subject: [PATCH] fixed linter errors --- src/logger.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/logger.rs b/src/logger.rs index 134d076..097a84e 100644 --- a/src/logger.rs +++ b/src/logger.rs @@ -25,7 +25,6 @@ where }) .collect::>() .join("\n") - .to_owned() } fn with_prefix(text: S1, prefix: S2) -> String @@ -37,10 +36,7 @@ where } fn get_line_prefix() -> String { - format!( - "{}", - " │ ".repeat(ACTION_COUNT.load(Ordering::SeqCst).into()) - ) + " │ ".repeat(ACTION_COUNT.load(Ordering::SeqCst).into()) } pub fn log(message: S)