mark unused variables as unusued
Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
parent
03af588efb
commit
9bb1dca5f1
2 changed files with 5 additions and 3 deletions
|
@ -33,7 +33,9 @@ impl Iterator for PreparedStatementIterator<'_> {
|
|||
struct NonAliasingBox<T>(*mut T);
|
||||
impl<T> Drop for NonAliasingBox<T> {
|
||||
fn drop(&mut self) {
|
||||
unsafe { Box::from_raw(self.0) };
|
||||
unsafe {
|
||||
let _ = Box::from_raw(self.0);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue