From c1c50f6714fc60d69ee5c83ce00e203fca05efe7 Mon Sep 17 00:00:00 2001 From: Tamo Date: Mon, 28 Jun 2021 13:35:25 +0200 Subject: [PATCH] unused borrow that must be used --- meilisearch-http/src/extractors/authentication/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }