infer LibItem type in CW model
@@ -30,7 +30,7 @@ fn lib_items_update(lib_items: &mut Vec<LibItem>, library: &LibBucket) -> Effect
.sorted_by(|a, b| b.mtime.cmp(&a.mtime))
.take(CATALOG_PREVIEW_SIZE)
.cloned()
- .collect::<Vec<LibItem>>();
+ .collect::<Vec<_>>();
if next_lib_items.ne(lib_items) {
*lib_items = next_lib_items;
Effects::none()
