Skip to content

Commit

Permalink
Allow the error swallow by clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHayton committed Jul 30, 2024
1 parent b817d66 commit d81b469
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jaenokhwa-bindings-windows/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,7 @@ pub mod wmf {
impl Drop for MediaFoundationDevice {
fn drop(&mut self) {
// swallow errors
#[allow(clippy::needless_if)]
unsafe {
if self
.source_reader
Expand Down

0 comments on commit d81b469

Please sign in to comment.