Skip to content

Commit 0772f9a

Browse files
committed
Make Bound::cloned public
1 parent 867c4a5 commit 0772f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/ops/range.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ impl<T: Clone> Bound<&T> {
709709
/// assert_eq!((1..12).start_bound().cloned(), Included(1));
710710
/// ```
711711
#[unstable(feature = "bound_cloned", issue = "61356")]
712-
fn cloned(&self) -> Bound<T> {
712+
pub fn cloned(&self) -> Bound<T> {
713713
match *self {
714714
Bound::Unbounded => Bound::Unbounded,
715715
Bound::Included(x) => Bound::Included(x.clone()),

0 commit comments

Comments
 (0)