diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-06-10 13:33:52 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-06-17 09:07:16 -0700 |
| commit | ce1a965cf54ce65fc43b535c27029ce183214063 (patch) | |
| tree | 6fc6809fa8152fd85d52707d4591fd329aff5880 /src/libstd/sync | |
| parent | 6895311e859e1859f9b3f0adc9f1fbb4d2891534 (diff) | |
| download | rust-ce1a965cf54ce65fc43b535c27029ce183214063.tar.gz rust-ce1a965cf54ce65fc43b535c27029ce183214063.zip | |
Fallout in tests and docs from feature renamings
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/future.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sync/mutex.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sync/semaphore.rs | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/sync/future.rs b/src/libstd/sync/future.rs index 76b07999280..f5b6650a498 100644 --- a/src/libstd/sync/future.rs +++ b/src/libstd/sync/future.rs @@ -14,7 +14,7 @@ //! # Examples //! //! ``` -//! # #![feature(std_misc)] +//! # #![feature(future)] //! use std::sync::Future; //! //! // a fake, for now diff --git a/src/libstd/sync/mutex.rs b/src/libstd/sync/mutex.rs index 5f77ee20545..1d630142959 100644 --- a/src/libstd/sync/mutex.rs +++ b/src/libstd/sync/mutex.rs @@ -85,6 +85,8 @@ use sys_common::poison::{self, TryLockError, TryLockResult, LockResult}; /// To recover from a poisoned mutex: /// /// ``` +/// #![feature(sync_poison)] +/// /// use std::sync::{Arc, Mutex}; /// use std::thread; /// diff --git a/src/libstd/sync/semaphore.rs b/src/libstd/sync/semaphore.rs index 0278a6c95b9..dc9e467a8b1 100644 --- a/src/libstd/sync/semaphore.rs +++ b/src/libstd/sync/semaphore.rs @@ -25,7 +25,7 @@ use sync::{Mutex, Condvar}; /// # Examples /// /// ``` -/// # #![feature(std_misc)] +/// # #![feature(semaphore)] /// use std::sync::Semaphore; /// /// // Create a semaphore that represents 5 resources |
