From 0a3b193f796bcb5e1a211d0e3c1589565d9848c2 Mon Sep 17 00:00:00 2001 From: Joscha Date: Thu, 5 Jan 2023 17:34:30 +0100 Subject: [PATCH] Fix clippy lint --- src/styled.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styled.rs b/src/styled.rs index 99b346d..872e4c5 100644 --- a/src/styled.rs +++ b/src/styled.rs @@ -167,7 +167,7 @@ impl From<&str> for Styled { impl From for Styled { fn from(text: String) -> Self { - Self::new_plain(&text) + Self::new_plain(text) } }