about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJames Wang <jameswang9909@hotmail.com>2019-10-03 14:38:33 -0500
committerflip1995 <hello@philkrones.com>2019-10-15 09:58:11 +0200
commite64b27525b7b9a39281e64c408cc0b4c23252e02 (patch)
tree5c63488929766f23736c38443664af706ea0f9fe
parent664522baddd813e9a8a989479289be43fe0da5cd (diff)
downloadrust-e64b27525b7b9a39281e64c408cc0b4c23252e02.tar.gz
rust-e64b27525b7b9a39281e64c408cc0b4c23252e02.zip
Remove prints
-rw-r--r--clippy_lints/src/unused_self.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/clippy_lints/src/unused_self.rs b/clippy_lints/src/unused_self.rs
index 42644b88acc..5615dd37cd2 100644
--- a/clippy_lints/src/unused_self.rs
+++ b/clippy_lints/src/unused_self.rs
@@ -53,7 +53,6 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnusedSelf {
                     let impl_item = cx.tcx.hir().impl_item(impl_item_ref.id);
                     if let ImplItemKind::Method(_, body_id) = &impl_item.kind;
                     then {
-                        // println!("Visiting method: {:?}", impl_item);
                         let body = cx.tcx.hir().body(*body_id);
                         let self_param = &body.params[0];
                         let self_hir_id = self_param.pat.hir_id;
@@ -64,7 +63,6 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnusedSelf {
                         };
                         visitor.visit_body(body);
                         if !visitor.uses_self {
-                            // println!("LINTING SPAN: {:?}", &self_param.span);
                             span_help_and_lint(
                                 cx,
                                 UNUSED_SELF,