diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2023-11-27 12:49:09 +0530 |
|---|---|---|
| committer | Dylan DPC <dylan.dpc@gmail.com> | 2023-11-27 12:49:09 +0530 |
| commit | a43dc2b67cee8e56cbe73d36ec0a99c6b0f2dd59 (patch) | |
| tree | d34b7df021d498b9af018714b2d78ddb90d67701 | |
| parent | 48cfbe0cdfbc812a9bd8ce0b3bf6ca003bd12e6a (diff) | |
| download | rust-a43dc2b67cee8e56cbe73d36ec0a99c6b0f2dd59.tar.gz rust-a43dc2b67cee8e56cbe73d36ec0a99c6b0f2dd59.zip | |
stabilise bound_map
| -rw-r--r-- | library/core/src/ops/range.rs | 4 |
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, |
