unused borrow that must be used

This commit is contained in:
Tamo 2021-06-28 13:35:25 +02:00
parent d7ca68d8e9
commit c1c50f6714
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69

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);
} }
} }