about summary refs log tree commit diff
path: root/clippy_lints/src/implicit_hasher.rs
diff options
context:
space:
mode:
authorflip1995 <philipp.krones@embecosm.com>2022-05-05 15:12:52 +0100
committerflip1995 <philipp.krones@embecosm.com>2022-05-05 15:12:52 +0100
commit7cd86aa1be18d608d828239c11e887a762efc92a (patch)
treef2f098e889406b343beba0dbbf58e492c4e5dff6 /clippy_lints/src/implicit_hasher.rs
parent82f469f81b6daafb448e36c0e811cf2d40836edb (diff)
downloadrust-7cd86aa1be18d608d828239c11e887a762efc92a.tar.gz
rust-7cd86aa1be18d608d828239c11e887a762efc92a.zip
Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup
Diffstat (limited to 'clippy_lints/src/implicit_hasher.rs')
-rw-r--r--clippy_lints/src/implicit_hasher.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/implicit_hasher.rs b/clippy_lints/src/implicit_hasher.rs
index d5430a8c917..feb1b1014b1 100644
--- a/clippy_lints/src/implicit_hasher.rs
+++ b/clippy_lints/src/implicit_hasher.rs
@@ -117,7 +117,7 @@ impl<'tcx> LateLintPass<'tcx> for ImplicitHasher {
         }
 
         match item.kind {
-            ItemKind::Impl(ref impl_) => {
+            ItemKind::Impl(impl_) => {
                 let mut vis = ImplicitHasherTypeVisitor::new(cx);
                 vis.visit_ty(impl_.self_ty);
 
@@ -155,7 +155,7 @@ impl<'tcx> LateLintPass<'tcx> for ImplicitHasher {
                     );
                 }
             },
-            ItemKind::Fn(ref sig, ref generics, body_id) => {
+            ItemKind::Fn(ref sig, generics, body_id) => {
                 let body = cx.tcx.hir().body(body_id);
 
                 for ty in sig.decl.inputs {