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 authored Jul 19, 2022
1 parent 951dce9 commit 46674ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/odb.rs
Original file line number Diff line number Diff line change
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 46674ce

Please sign in to comment.