diff --git a/core/src/ops/range.rs b/core/src/ops/range.rs index a3b148473..728202835 100644 --- a/core/src/ops/range.rs +++ b/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),