We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 533cfde + a43dc2b commit 304a17aCopy full SHA for 304a17a
library/core/src/ops/range.rs
@@ -710,7 +710,6 @@ impl<T> Bound<T> {
710
/// # Examples
711
///
712
/// ```
713
- /// #![feature(bound_map)]
714
/// use std::ops::Bound::*;
715
716
/// let bound_string = Included("Hello, World!");
@@ -719,7 +718,6 @@ impl<T> Bound<T> {
719
718
720
721
722
723
/// use std::ops::Bound;
724
/// use Bound::*;
725
@@ -728,7 +726,7 @@ impl<T> Bound<T> {
728
726
/// assert_eq!(unbounded_string.map(|s| s.len()), Unbounded);
729
727
730
#[inline]
731
- #[unstable(feature = "bound_map", issue = "86026")]
+ #[stable(feature = "bound_map", since = "CURRENT_RUSTC_VERSION")]
732
pub fn map<U, F: FnOnce(T) -> U>(self, f: F) -> Bound<U> {
733
match self {
734
Unbounded => Unbounded,
0 commit comments