248: Unused borrow that must be used r=curquiza a=irevoire

I noticed #228 introduced a warning while compiling

Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
bors[bot] 2021-06-28 11:53:22 +00:00 committed by GitHub
commit 8d8fe8fd29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ macro_rules! create_policies {
} }
pub fn add(&mut self, token: Vec<u8>) { pub fn add(&mut self, token: Vec<u8>) {
&mut self.inner.insert(token); self.inner.insert(token);
} }
} }