From c1bc8f11cb36cade87422b91a0bdec1fe8b5af41 Mon Sep 17 00:00:00 2001
From: Chris Gregory <czipperz@gmail.com>
Date: Wed, 5 Jun 2019 21:23:45 -0700
Subject: [PATCH] Remove dereference

Co-Authored-By: Steven Fackler <sfackler@gmail.com>
---
 src/libcore/ops/range.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libcore/ops/range.rs b/src/libcore/ops/range.rs
index 763020c478f..1b4c4218cc1 100644
--- a/src/libcore/ops/range.rs
+++ b/src/libcore/ops/range.rs
@@ -711,7 +711,7 @@ impl<T: Clone> Bound<&T> {
     /// ```
     #[unstable(feature = "bound_cloned", issue = "61356")]
     pub fn cloned(self) -> Bound<T> {
-        match *self {
+        match self {
             Bound::Unbounded => Bound::Unbounded,
             Bound::Included(x) => Bound::Included(x.clone()),
             Bound::Excluded(x) => Bound::Excluded(x.clone()),