Really mini minor irrelevant change for formatting

This commit is contained in:
blyxyas 2023-04-03 14:16:46 +02:00
parent 54912410c7
commit 5acc2993e7
No known key found for this signature in database
GPG Key ID: 4D38170B5A2FC334
1 changed files with 1 additions and 3 deletions

View File

@ -127,9 +127,7 @@ impl LateLintPass<'_> for WildcardImports {
.display(rustc_span::FileNameDisplayPreference::Local)
.to_string();
if filename.ends_with("test.rs") || filename.ends_with("tests.rs") {
self.ignore = true;
}
self.ignore = filename.ends_with("test.rs") || filename.ends_with("tests.rs");
}
fn check_item(&mut self, cx: &LateContext<'_>, item: &Item<'_>) {