Skip to content

Commit

Permalink
sync: add MappedOwnedMutexGuard (#5474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn authored Feb 19, 2023
1 parent eca2406 commit 2e0372b
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 2e0372b

Please sign in to comment.