We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
bound_as_ref
Bound::as_ref
1 parent eaadb89 commit 773df67Copy full SHA for 773df67
library/core/src/ops/range.rs
@@ -677,7 +677,7 @@ pub enum Bound<T> {
677
impl<T> Bound<T> {
678
/// Converts from `&Bound<T>` to `Bound<&T>`.
679
#[inline]
680
- #[unstable(feature = "bound_as_ref", issue = "80996")]
+ #[stable(feature = "bound_as_ref_shared", since = "CURRENT_RUSTC_VERSION")]
681
pub fn as_ref(&self) -> Bound<&T> {
682
match *self {
683
Included(ref x) => Included(x),
0 commit comments