We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 867c4a5 commit 0772f9aCopy full SHA for 0772f9a
src/libcore/ops/range.rs
@@ -709,7 +709,7 @@ impl<T: Clone> Bound<&T> {
709
/// assert_eq!((1..12).start_bound().cloned(), Included(1));
710
/// ```
711
#[unstable(feature = "bound_cloned", issue = "61356")]
712
- fn cloned(&self) -> Bound<T> {
+ pub fn cloned(&self) -> Bound<T> {
713
match *self {
714
Bound::Unbounded => Bound::Unbounded,
715
Bound::Included(x) => Bound::Included(x.clone()),
0 commit comments