diff --git a/src/macros.rs b/src/macros.rs index 9e744dc..3de7b31 100644 --- a/src/macros.rs +++ b/src/macros.rs @@ -86,22 +86,20 @@ macro_rules! style { macro_rules! title { // Single input ($arg:expr) => {{ - let res = format!(" {} ", $arg); + let res = format!("{}", $arg); res }}; // format-like ($($arg:expr),*$(,)?) => {{ - let res = format!(" {} ", format!($($arg),*)); + let res = format!("{}", format!($($arg),*)); res }}; // vec-like ($($arg:expr);*$(;)?) => {{ let res = vec![ - " ".into(), $($arg,)* - " ".into(), ]; res }};