about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2023-11-27 12:49:09 +0530
committerDylan DPC <dylan.dpc@gmail.com>2023-11-27 12:49:09 +0530
commita43dc2b67cee8e56cbe73d36ec0a99c6b0f2dd59 (patch)
treed34b7df021d498b9af018714b2d78ddb90d67701
parent48cfbe0cdfbc812a9bd8ce0b3bf6ca003bd12e6a (diff)
downloadrust-a43dc2b67cee8e56cbe73d36ec0a99c6b0f2dd59.tar.gz
rust-a43dc2b67cee8e56cbe73d36ec0a99c6b0f2dd59.zip
stabilise bound_map
-rw-r--r--library/core/src/ops/range.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/library/core/src/ops/range.rs b/library/core/src/ops/range.rs
index b419a738fbe..e809273c9ed 100644
--- a/library/core/src/ops/range.rs
+++ b/library/core/src/ops/range.rs
@@ -710,7 +710,6 @@ impl<T> Bound<T> {
     /// # Examples
     ///
     /// ```
-    /// #![feature(bound_map)]
     /// use std::ops::Bound::*;
     ///
     /// let bound_string = Included("Hello, World!");
@@ -719,7 +718,6 @@ impl<T> Bound<T> {
     /// ```
     ///
     /// ```
-    /// #![feature(bound_map)]
     /// use std::ops::Bound;
     /// use Bound::*;
     ///
@@ -728,7 +726,7 @@ impl<T> Bound<T> {
     /// assert_eq!(unbounded_string.map(|s| s.len()), Unbounded);
     /// ```
     #[inline]
-    #[unstable(feature = "bound_map", issue = "86026")]
+    #[stable(feature = "bound_map", since = "CURRENT_RUSTC_VERSION")]
     pub fn map<U, F: FnOnce(T) -> U>(self, f: F) -> Bound<U> {
         match self {
             Unbounded => Unbounded,