From fb9b298645e31bf9d38fdb81bf79771c3c19e972 Mon Sep 17 00:00:00 2001 From: Phillip Davis Date: Tue, 5 Jul 2022 21:52:50 -0400 Subject: [PATCH] Leave actions as HashSet --- meilisearch-auth/src/store.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/meilisearch-auth/src/store.rs b/meilisearch-auth/src/store.rs index 9b9cf41e0..3a32b9f20 100644 --- a/meilisearch-auth/src/store.rs +++ b/meilisearch-auth/src/store.rs @@ -131,8 +131,6 @@ impl HeedAuthStore { } } - let actions = actions.iter().collect::>(); - let no_index_restriction = key.indexes.contains(&StarOr::Star); for action in actions { if no_index_restriction {