diff --git a/meilisearch/src/routes/indexes/mod.rs b/meilisearch/src/routes/indexes/mod.rs index 487511da0..2b204ac65 100644 --- a/meilisearch/src/routes/indexes/mod.rs +++ b/meilisearch/src/routes/indexes/mod.rs @@ -101,7 +101,6 @@ pub async fn list_indexes( })?; // Won't cause to open all indexes because IndexView doesn't keep the `Index` opened. // error when trying to fix it: the trait `ExactSizeIterator` is not implemented for `Flatten>>` - #[allow(clippy::needless_collect)] let indexes: Vec = indexes.into_iter().flatten().collect(); let ret = paginate.as_pagination().auto_paginate_sized(indexes.into_iter());