Skip to content

Commit c1bc8f1

Browse files
czipperzsfackler
andauthored
Remove dereference
Co-Authored-By: Steven Fackler <sfackler@gmail.com>
1 parent 4a88614 commit c1bc8f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/ops/range.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ impl<T: Clone> Bound<&T> {
711711
/// ```
712712
#[unstable(feature = "bound_cloned", issue = "61356")]
713713
pub fn cloned(self) -> Bound<T> {
714-
match *self {
714+
match self {
715715
Bound::Unbounded => Bound::Unbounded,
716716
Bound::Included(x) => Bound::Included(x.clone()),
717717
Bound::Excluded(x) => Bound::Excluded(x.clone()),

0 commit comments

Comments
 (0)