Skip to content

Commit

Permalink
sync: add MappedOwnedMutexGuard (tokio-rs#5474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn authored and amab8901 committed Feb 27, 2023
1 parent 72077a9 commit 04087b9
Show file tree
Hide file tree
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
Expand Up @@ -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;
Expand Down
Loading

0 comments on commit 04087b9

Please sign in to comment.