diff --git a/meilisearch-http/src/extractors/authentication/mod.rs b/meilisearch-http/src/extractors/authentication/mod.rs index 6b9ac24ae..13ced2248 100644 --- a/meilisearch-http/src/extractors/authentication/mod.rs +++ b/meilisearch-http/src/extractors/authentication/mod.rs @@ -30,7 +30,7 @@ macro_rules! create_policies { } pub fn add(&mut self, token: Vec) { - &mut self.inner.insert(token); + self.inner.insert(token); } }