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 4a88614 commit c1bc8f1Copy full SHA for c1bc8f1
src/libcore/ops/range.rs
@@ -711,7 +711,7 @@ impl<T: Clone> Bound<&T> {
711
/// ```
712
#[unstable(feature = "bound_cloned", issue = "61356")]
713
pub fn cloned(self) -> Bound<T> {
714
- match *self {
+ match self {
715
Bound::Unbounded => Bound::Unbounded,
716
Bound::Included(x) => Bound::Included(x.clone()),
717
Bound::Excluded(x) => Bound::Excluded(x.clone()),
0 commit comments