diff options
| -rw-r--r-- | src/libcore/cell.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libcore/cell.rs b/src/libcore/cell.rs index 64c63e5ce1a..c7bbf02fc18 100644 --- a/src/libcore/cell.rs +++ b/src/libcore/cell.rs @@ -572,8 +572,6 @@ pub struct RefCell<T: ?Sized> { /// An enumeration of values returned from the `state` method on a `RefCell<T>`. #[derive(Copy, Clone, PartialEq, Eq, Debug)] #[unstable(feature = "borrow_state", issue = "27733")] -#[rustc_deprecated(since = "1.15.0", reason = "use `try_borrow` instead")] -#[allow(deprecated)] pub enum BorrowState { /// The cell is currently being read, there is at least one active `borrow`. Reading, @@ -788,8 +786,6 @@ impl<T: ?Sized> RefCell<T> { /// } /// ``` #[unstable(feature = "borrow_state", issue = "27733")] - #[rustc_deprecated(since = "1.15.0", reason = "use `try_borrow` instead")] - #[allow(deprecated)] #[inline] pub fn borrow_state(&self) -> BorrowState { let borrow = self.borrow.get(); |
