fix deprecation warnings caused by old trait object syntax
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user