fix deprecation warnings caused by old trait object syntax

This commit is contained in:
Henrik Friedrichsen
2019-09-01 01:32:50 +02:00
parent 9a38eaa535
commit 7aa70fcb6b
10 changed files with 27 additions and 25 deletions

View File

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