Skip to content

Commit

Permalink
Fix warning about unused_must_use for Box::from_raw (#860)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Jan 20, 2023
1 parent 66dd6e5 commit 8c97ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/odb.rs
Expand Up @@ -514,7 +514,7 @@ impl<'repo> Drop for OdbPackwriter<'repo> {
None => (),
};

Box::from_raw(self.progress_payload_ptr);
drop(Box::from_raw(self.progress_payload_ptr));
}
}
}
Expand Down

0 comments on commit 8c97ea1

Please sign in to comment.