Skip to content

Commit 46674ce

Browse files
authored
Fix warning about unused_must_use for Box::from_raw (#860)
1 parent 951dce9 commit 46674ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/odb.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ impl<'repo> Drop for OdbPackwriter<'repo> {
514514
None => (),
515515
};
516516

517-
Box::from_raw(self.progress_payload_ptr);
517+
drop(Box::from_raw(self.progress_payload_ptr));
518518
}
519519
}
520520
}

0 commit comments

Comments
 (0)