Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync: add MappedOwnedMutexGuard (tokio-rs#5474)
Browse files Browse the repository at this point in the history
Darksonn authored and amab8901 committed Feb 27, 2023
1 parent 72077a9 commit 04087b9
Showing 3 changed files with 306 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tokio/src/sync/mod.rs
Original file line number Diff line number Diff line change
@@ -449,7 +449,7 @@ cfg_sync! {
pub mod mpsc;

mod mutex;
pub use mutex::{Mutex, MutexGuard, TryLockError, OwnedMutexGuard, MappedMutexGuard};
pub use mutex::{Mutex, MutexGuard, TryLockError, OwnedMutexGuard, MappedMutexGuard, OwnedMappedMutexGuard};

pub(crate) mod notify;
pub use notify::Notify;
Loading

0 comments on commit 04087b9

Please sign in to comment.