diff options
author | Alice Ryhl <alice@ryhl.io> | 2020-04-20 22:59:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-20 22:59:25 +0200 |
commit | 5a548044d7bfd5d1c59d1a398d34ccbc29cbfe70 (patch) | |
tree | 84533eaea12d9f892bc12fec320b914b0469137f /tokio/src/sync/mod.rs | |
parent | a748da10319898329070e7b4f6ac2fc737bfd678 (diff) |
sync: add owned semaphore permit (#2421)
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 0607f78a..4003bb69 100644 --- a/tokio/src/sync/mod.rs +++ b/tokio/src/sync/mod.rs @@ -438,7 +438,7 @@ cfg_sync! { pub(crate) mod batch_semaphore; pub(crate) mod semaphore_ll; mod semaphore; - pub use semaphore::{Semaphore, SemaphorePermit}; + pub use semaphore::{Semaphore, SemaphorePermit, OwnedSemaphorePermit}; mod rwlock; pub use rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard}; |