Skip to content

Commit 867c4a5

Browse files
committed
Fix compilation errors
1 parent 333e1ca commit 867c4a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcore/ops/range.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,9 +708,9 @@ impl<T: Clone> Bound<&T> {
708708
/// assert_eq!((1..12).start_bound(), Included(&1));
709709
/// assert_eq!((1..12).start_bound().cloned(), Included(1));
710710
/// ```
711-
#[unstable(feature = "bound_cloned", issue = 61356)]
711+
#[unstable(feature = "bound_cloned", issue = "61356")]
712712
fn cloned(&self) -> Bound<T> {
713-
match self {
713+
match *self {
714714
Bound::Unbounded => Bound::Unbounded,
715715
Bound::Included(x) => Bound::Included(x.clone()),
716716
Bound::Excluded(x) => Bound::Excluded(x.clone()),

0 commit comments

Comments
 (0)