diff --git a/README.md b/README.md index d060ebd..c5e174a 100644 --- a/README.md +++ b/README.md @@ -8,14 +8,13 @@


- License + License GitHub isses GitHub pull requests
Discord - The
- Mastodon Follow + The maintainer of this repository
+ Mastodon Follow Twitter Follow -

diff --git a/src/internal/utils.rs b/src/internal/utils.rs index df5d322..d23c99c 100644 --- a/src/internal/utils.rs +++ b/src/internal/utils.rs @@ -171,13 +171,10 @@ impl Spinner { }; let opts = textwrap::Options::new(termwidth()).subsequent_indent(" "); - let symbol = Box::new(format!("{}", OK_SYMBOL.purple())); - let text = Box::new(format!("{}", wrap(&text, opts).join("\n").bold())); + let symbol = format!("{}", OK_SYMBOL.purple()); + let text = format!("{}", wrap(&text, opts).join("\n").bold()); - let symbol: &'static str = Box::leak(symbol); - let text: &'static str = Box::leak(text); - - self.spinner.stop_and_persist(symbol, text); + self.spinner.stop_and_persist(&symbol, &text); } }