Skip to content

Commit adb6bb6

Browse files
committed
---
yaml --- r: 225945 b: refs/heads/stable c: c032d6f h: refs/heads/master i: 225943: f4f32aa v: v3
1 parent 36a53bb commit adb6bb6

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ refs/heads/tmp: e5d90d98402475b6e154ce216f9efcb80da1a747
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 1fe32ca12c51afcd761d9962f51a74ff0d07a591
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 68b628b165c91e6abe1bccf9d94eb7c7ef7cdda3
32+
refs/heads/stable: c032d6fd397d95ccfa7c9bbefc8cc508906b8d34
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b

branches/stable/src/libstd/sync/mutex.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ impl<T: ?Sized> Mutex<T> {
238238
/// time. You should not trust a `false` value for program correctness
239239
/// without additional synchronization.
240240
#[inline]
241-
#[unstable(feature = "sync_poison")]
241+
#[stable(feature = "sync_poison", since = "1.2.0")]
242242
pub fn is_poisoned(&self) -> bool {
243243
self.inner.poison.get()
244244
}

branches/stable/src/libstd/sync/rwlock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ impl<T: ?Sized> RwLock<T> {
253253
/// time. You should not trust a `false` value for program correctness
254254
/// without additional synchronization.
255255
#[inline]
256-
#[unstable(feature = "sync_poison")]
256+
#[stable(feature = "sync_poison", since = "1.2.0")]
257257
pub fn is_poisoned(&self) -> bool {
258258
self.inner.poison.get()
259259
}

branches/stable/src/libstd/sys/common/poison.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,24 +120,24 @@ impl<T: Send + Reflect> Error for PoisonError<T> {
120120

121121
impl<T> PoisonError<T> {
122122
/// Creates a `PoisonError`.
123-
#[unstable(feature = "sync_poison")]
123+
#[stable(feature = "sync_poison", since = "1.2.0")]
124124
pub fn new(guard: T) -> PoisonError<T> {
125125
PoisonError { guard: guard }
126126
}
127127

128128
/// Consumes this error indicating that a lock is poisoned, returning the
129129
/// underlying guard to allow access regardless.
130-
#[unstable(feature = "sync_poison")]
130+
#[stable(feature = "sync_poison", since = "1.2.0")]
131131
pub fn into_inner(self) -> T { self.guard }
132132

133133
/// Reaches into this error indicating that a lock is poisoned, returning a
134134
/// reference to the underlying guard to allow access regardless.
135-
#[unstable(feature = "sync_poison")]
135+
#[stable(feature = "sync_poison", since = "1.2.0")]
136136
pub fn get_ref(&self) -> &T { &self.guard }
137137

138138
/// Reaches into this error indicating that a lock is poisoned, returning a
139139
/// mutable reference to the underlying guard to allow access regardless.
140-
#[unstable(feature = "sync_poi")]
140+
#[stable(feature = "sync_poison", since = "1.2.0")]
141141
pub fn get_mut(&mut self) -> &mut T { &mut self.guard }
142142
}
143143

0 commit comments

Comments
 (0)