Skip to content

Commit 773df67

Browse files
committed
Partially stabilize bound_as_ref by stablizing Bound::as_ref
See: - #80996 - #80996 (comment)
1 parent eaadb89 commit 773df67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ops/range.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ pub enum Bound<T> {
677677
impl<T> Bound<T> {
678678
/// Converts from `&Bound<T>` to `Bound<&T>`.
679679
#[inline]
680-
#[unstable(feature = "bound_as_ref", issue = "80996")]
680+
#[stable(feature = "bound_as_ref_shared", since = "CURRENT_RUSTC_VERSION")]
681681
pub fn as_ref(&self) -> Bound<&T> {
682682
match *self {
683683
Included(ref x) => Included(x),

0 commit comments

Comments
 (0)