]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sync/mod.rs
std: Clean out deprecated APIs
[rust.git] / src / libstd / sync / mod.rs
index 9c9aa20eff5c0e292b95a6a368e8c63f9bceaaf1..c20b422d40cf5b907e9f8e3dff3825ca6e3f8d29 100644 (file)
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-//! Useful synchronization primitives
+//! Useful synchronization primitives.
 //!
 //! This module contains useful safe and unsafe synchronization primitives.
 //! Most of the primitives in this module do not provide any sort of locking
@@ -38,9 +38,6 @@
 pub use self::rwlock::{RwLockReadGuard, RwLockWriteGuard};
 #[stable(feature = "rust1", since = "1.0.0")]
 pub use self::rwlock::{RwLock, StaticRwLock, RW_LOCK_INIT};
-#[stable(feature = "rust1", since = "1.0.0")]
-#[allow(deprecated)]
-pub use self::semaphore::{Semaphore, SemaphoreGuard};
 
 pub mod mpsc;
 
@@ -49,4 +46,3 @@
 mod mutex;
 mod once;
 mod rwlock;
-mod semaphore;