diff options
author | João Oliveira <hello@jxs.pt> | 2020-04-21 19:36:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-21 20:36:13 +0200 |
commit | 6349efd2374624f04a8346b1cbef5b6a896dbf5d (patch) | |
tree | 2513e7265d384ea3bb52e88402f27f65144106e6 /tokio/src/sync/mod.rs | |
parent | 2da15b5f246f25138edcddced725b71f1b2b7cc9 (diff) |
sync: improve mutex documentation (#2405)
Co-authored-by: Taiki Endo <te316e89@gmail.com>
Co-authored-by: Alice Ryhl <alice@ryhl.io>
Diffstat (limited to 'tokio/src/sync/mod.rs')
-rw-r--r-- | tokio/src/sync/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/sync/mod.rs b/tokio/src/sync/mod.rs index 4003bb69..8a6aabde 100644 --- a/tokio/src/sync/mod.rs +++ b/tokio/src/sync/mod.rs @@ -428,7 +428,7 @@ cfg_sync! { pub mod mpsc; mod mutex; - pub use mutex::{Mutex, MutexGuard}; + pub use mutex::{Mutex, MutexGuard, TryLockError}; mod notify; pub use notify::Notify; |