Fix clippy lint

This commit is contained in:
Joscha 2023-01-05 17:34:30 +01:00
parent 8942b381f5
commit 0a3b193f79

View file

@ -167,7 +167,7 @@ impl From<&str> for Styled {
impl From<String> for Styled { impl From<String> for Styled {
fn from(text: String) -> Self { fn from(text: String) -> Self {
Self::new_plain(&text) Self::new_plain(text)
} }
} }