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)