Skip to content

Commit 965a358

Browse files
committed
lint dylint
1 parent c2436d9 commit 965a358

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clippy_lints/src/use_crate_prefix_for_self_imports.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ impl<'a, 'tcx> LateLintPass<'tcx> for UseCratePrefixForSelfImports<'a, 'tcx> {
7171
};
7272
// only check `main.rs` and `lib.rs`
7373
if !(file_name == "main.rs" || file_name == "lib.rs") {
74-
self.use_block.clear();
7574
return;
7675
}
7776

0 commit comments

Comments
 (0)