mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue