about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-07-02 11:42:38 +0000
committerbors <bors@rust-lang.org>2021-07-02 11:42:38 +0000
commitce331ee6ee010438d1a58c7da8ced4f26d69a20e (patch)
treedbe87a9389300b43acff319a3b312623a0f8e921 /library/core/src
parentf9fa13f705bb8b1c57c6b6fe95055ec4995a40f0 (diff)
parentcd3a48fdb650f6ce7c6c8a31d2136073fc3338f5 (diff)
downloadrust-ce331ee6ee010438d1a58c7da8ced4f26d69a20e.tar.gz
rust-ce331ee6ee010438d1a58c7da8ced4f26d69a20e.zip
Auto merge of #86806 - GuillaumeGomez:rollup-pr5r37w, r=GuillaumeGomez
Rollup of 5 pull requests

Successful merges:

 - #85749 (Revert "Don't load all extern crates unconditionally")
 - #86714 (Add linked list cursor end methods)
 - #86737 (Document rustfmt on nightly-rustc)
 - #86776 (Skip layout query when computing integer type size during mangling)
 - #86797 (Stabilize `Bound::cloned()`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/ops/range.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/ops/range.rs b/library/core/src/ops/range.rs
index bb948376bc7..9bf0382312e 100644
--- a/library/core/src/ops/range.rs
+++ b/library/core/src/ops/range.rs
@@ -737,14 +737,13 @@ impl<T: Clone> Bound<&T> {
     /// # Examples
     ///
     /// ```
-    /// #![feature(bound_cloned)]
     /// use std::ops::Bound::*;
     /// use std::ops::RangeBounds;
     ///
     /// assert_eq!((1..12).start_bound(), Included(&1));
     /// assert_eq!((1..12).start_bound().cloned(), Included(1));
     /// ```
-    #[unstable(feature = "bound_cloned", issue = "61356")]
+    #[stable(feature = "bound_cloned", since = "1.55.0")]
     pub fn cloned(self) -> Bound<T> {
         match self {
             Bound::Unbounded => Bound::Unbounded,