fix deprecation warnings caused by old trait object syntax
This commit is contained in:
@@ -40,7 +40,7 @@ pub struct SearchView {
|
||||
}
|
||||
|
||||
type SearchHandler<I> =
|
||||
Box<Fn(&Arc<Spotify>, &Arc<RwLock<Vec<I>>>, &str, usize, bool) -> u32 + Send + Sync>;
|
||||
Box<dyn Fn(&Arc<Spotify>, &Arc<RwLock<Vec<I>>>, &str, usize, bool) -> u32 + Send + Sync>;
|
||||
|
||||
pub const LIST_ID: &str = "search_list";
|
||||
pub const EDIT_ID: &str = "search_edit";
|
||||
|
||||
Reference in New Issue
Block a user