Skip to content

Commit

Permalink
Only use one guard type
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Jul 10, 2020
1 parent bae2a6a commit 2afef98
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 373 deletions.
2 changes: 1 addition & 1 deletion tokio/src/sync/mod.rs
Expand Up @@ -455,7 +455,7 @@ cfg_sync! {
pub use semaphore::{Semaphore, SemaphorePermit, OwnedSemaphorePermit};

mod rwlock;
pub use rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard, MappedRwLockReadGuard, MappedRwLockWriteGuard};
pub use rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard};

mod task;
pub(crate) use task::AtomicWaker;
Expand Down

0 comments on commit 2afef98

Please sign in to comment.