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