Really mini minor irrelevant change for formatting
This commit is contained in:
parent
54912410c7
commit
5acc2993e7
|
@ -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<'_>) {
|
||||
|
|
Loading…
Reference in New Issue