remove redundant clones

This commit is contained in:
daniel.eades 2023-11-16 18:24:47 +00:00 committed by Ashley Wulber
parent e9af664888
commit b472a155fc
7 changed files with 13 additions and 15 deletions

View file

@ -685,7 +685,7 @@ impl cosmic::Application for Audio {
if artists.len() > 15 {
format!("{artists:15}...")
} else {
artists.to_string()
artists
}
} else {
String::new()