mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-29 08:14:26 +01:00
Merge #248
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:
commit
8d8fe8fd29
@ -30,7 +30,7 @@ macro_rules! create_policies {
|
||||
}
|
||||
|
||||
pub fn add(&mut self, token: Vec<u8>) {
|
||||
&mut self.inner.insert(token);
|
||||
self.inner.insert(token);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user