Skip to content

Commit e64b275

Browse files
james9909flip1995
authored andcommitted
Remove prints
1 parent 664522b commit e64b275

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clippy_lints/src/unused_self.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnusedSelf {
5353
let impl_item = cx.tcx.hir().impl_item(impl_item_ref.id);
5454
if let ImplItemKind::Method(_, body_id) = &impl_item.kind;
5555
then {
56-
// println!("Visiting method: {:?}", impl_item);
5756
let body = cx.tcx.hir().body(*body_id);
5857
let self_param = &body.params[0];
5958
let self_hir_id = self_param.pat.hir_id;
@@ -64,7 +63,6 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnusedSelf {
6463
};
6564
visitor.visit_body(body);
6665
if !visitor.uses_self {
67-
// println!("LINTING SPAN: {:?}", &self_param.span);
6866
span_help_and_lint(
6967
cx,
7068
UNUSED_SELF,

0 commit comments

Comments
 (0)