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

@@ -31,7 +31,7 @@ pub trait ListItem: Sync + Send + 'static {
None
}
fn as_listitem(&self) -> Box<ListItem>;
fn as_listitem(&self) -> Box<dyn ListItem>;
}
pub trait ViewExt: View {