fix deprecation warnings caused by old trait object syntax
This commit is contained in:
@@ -107,7 +107,7 @@ impl ListItem for Playlist {
|
||||
}
|
||||
}
|
||||
|
||||
fn as_listitem(&self) -> Box<ListItem> {
|
||||
fn as_listitem(&self) -> Box<dyn ListItem> {
|
||||
Box::new(self.clone())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user