mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-30 00:55:00 +08:00
unused borrow that must be used
This commit is contained in:
parent
d7ca68d8e9
commit
c1c50f6714
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user