Skip to content

Commit

Permalink
Partially stabilize bound_as_ref by stablizing Bound::as_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
lopopolo committed Aug 27, 2022
1 parent ada17f4 commit b495a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/ops/range.rs
Expand Up @@ -677,7 +677,7 @@ pub enum Bound<T> {
impl<T> Bound<T> {
/// Converts from `&Bound<T>` 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),
Expand Down

0 comments on commit b495a74

Please sign in to comment.