chore: update internal Mutex shim #2867
Labels
A-tokio
Area: The main tokio crate
C-maintenance
Category: PRs that clean code up or issues documenting cleanup.
M-sync
Module: tokio/sync
Milestone
Internally, Tokio does not rely on mutex poisoning. We should update the
Mutex
shim to remove the poisoning aspect of the API. This can be done usingLockResult::into_inner
.This has come up a few times in PR reviews (e.g. #2828 (comment)).
The text was updated successfully, but these errors were encountered: