diff --git a/library/core/src/ops/range.rs b/library/core/src/ops/range.rs index a3b14847342cb..7282028358184 100644 --- a/library/core/src/ops/range.rs +++ b/library/core/src/ops/range.rs @@ -677,7 +677,7 @@ pub enum Bound { impl Bound { /// Converts from `&Bound` to `Bound<&T>`. #[inline] - #[unstable(feature = "bound_as_ref", issue = "80996")] + #[stable(feature = "bound_as_ref_shared", since = "CURRENT_RUSTC_VERSION")] pub fn as_ref(&self) -> Bound<&T> { match *self { Included(ref x) => Included(x),