diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-13 10:12:38 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-15 18:09:17 -0700 |
| commit | 5f625620b5e4e29919400a0ee863942e5bf3d970 (patch) | |
| tree | 7f233a8ea679378cfd42109d923a6ddcf4aef7cf /src/libstd/sync/rwlock.rs | |
| parent | 377c11aa83c1d2f6cc07fe178eb18a31e1813304 (diff) | |
| download | rust-5f625620b5e4e29919400a0ee863942e5bf3d970.tar.gz rust-5f625620b5e4e29919400a0ee863942e5bf3d970.zip | |
std: Add issues to all unstable features
Diffstat (limited to 'src/libstd/sync/rwlock.rs')
| -rw-r--r-- | src/libstd/sync/rwlock.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libstd/sync/rwlock.rs b/src/libstd/sync/rwlock.rs index 40d5af49156..7210328fad8 100644 --- a/src/libstd/sync/rwlock.rs +++ b/src/libstd/sync/rwlock.rs @@ -98,7 +98,8 @@ unsafe impl<T: ?Sized + Send + Sync> Sync for RwLock<T> {} /// unsafe { LOCK.destroy() } // free all resources /// ``` #[unstable(feature = "static_rwlock", - reason = "may be merged with RwLock in the future")] + reason = "may be merged with RwLock in the future", + issue = "27717")] pub struct StaticRwLock { lock: sys::RWLock, poison: poison::Flag, @@ -106,7 +107,8 @@ pub struct StaticRwLock { /// Constant initialization for a statically-initialized rwlock. #[unstable(feature = "static_rwlock", - reason = "may be merged with RwLock in the future")] + reason = "may be merged with RwLock in the future", + issue = "27717")] pub const RW_LOCK_INIT: StaticRwLock = StaticRwLock::new(); /// RAII structure used to release the shared read access of a lock when @@ -285,7 +287,8 @@ unsafe impl Sync for Dummy {} static DUMMY: Dummy = Dummy(UnsafeCell::new(())); #[unstable(feature = "static_rwlock", - reason = "may be merged with RwLock in the future")] + reason = "may be merged with RwLock in the future", + issue = "27717")] impl StaticRwLock { /// Creates a new rwlock. pub const fn new() -> StaticRwLock { |
