Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 4356a8f

Browse files
committed
Remove redundant emit()
1 parent a064534 commit 4356a8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/loops/needless_collect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ fn check_needless_collect_indirect_usage<'tcx>(expr: &'tcx Expr<'_>, cx: &LateCo
102102
(iter_call.span, iter_replacement)
103103
],
104104
Applicability::MachineApplicable,// MaybeIncorrect,
105-
).emit();
105+
);
106106
},
107107
);
108108
}

0 commit comments

Comments
 (0)