Fix clippy lint
This commit is contained in:
parent
8942b381f5
commit
0a3b193f79
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ impl From<&str> for Styled {
|
|||
|
||||
impl From<String> for Styled {
|
||||
fn from(text: String) -> Self {
|
||||
Self::new_plain(&text)
|
||||
Self::new_plain(text)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue