mark unused variables as unusued

Signed-off-by: girlbossceo <june@girlboss.ceo>
This commit is contained in:
girlbossceo 2023-10-28 22:34:50 -04:00
parent 03af588efb
commit 9bb1dca5f1
2 changed files with 5 additions and 3 deletions

View file

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