From dea101e3d927775c7717ceebd1720b843096e5d3 Mon Sep 17 00:00:00 2001 From: Many the fish Date: Thu, 9 Mar 2023 15:17:03 +0100 Subject: [PATCH] Update meilisearch/src/routes/indexes/mod.rs Co-authored-by: Louis Dureuil --- meilisearch/src/routes/indexes/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/meilisearch/src/routes/indexes/mod.rs b/meilisearch/src/routes/indexes/mod.rs index 2b204ac65..c5c168786 100644 --- a/meilisearch/src/routes/indexes/mod.rs +++ b/meilisearch/src/routes/indexes/mod.rs @@ -100,7 +100,6 @@ pub async fn list_indexes( Ok(Some(IndexView::new(uid.to_string(), index)?)) })?; // 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>>` let indexes: Vec = indexes.into_iter().flatten().collect(); let ret = paginate.as_pagination().auto_paginate_sized(indexes.into_iter());