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) } }