From aa0ce3b395619dbfdb02255e181f72cfb9dd1064 Mon Sep 17 00:00:00 2001 From: Avril Date: Sun, 9 Aug 2020 16:50:52 +0100 Subject: [PATCH] eh --- src/spinner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spinner.rs b/src/spinner.rs index a80c314..446c352 100644 --- a/src/spinner.rs +++ b/src/spinner.rs @@ -125,7 +125,7 @@ impl WithTitle for Spin { fn with_title(_: usize, t: impl AsRef) -> Self { - Self::with_title(t, Default::default()) + Self::with_title(t.as_ref(), Default::default()) } fn update(&mut self) {