Fix Clone impl marked todo on Pagination

- Fixed a manual implementation of Clone on Pagination (needed extra
  trait bounds to be derivable)
- Made clippy happy :)
This commit is contained in:
Thomas
2022-10-19 22:02:39 +02:00
committed by GitHub
parent 05d221aada
commit 6a5efb1052
4 changed files with 6 additions and 17 deletions

View File

@@ -348,7 +348,7 @@ impl SearchResultsView {
0
}
fn perform_search<I: ListItem>(
fn perform_search<I: ListItem + Clone>(
&self,
handler: SearchHandler<I>,
results: &Arc<RwLock<Vec<I>>>,