mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-03 18:09:42 +00:00
Really mini minor irrelevant change for formatting
This commit is contained in:
parent
54912410c7
commit
5acc2993e7
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue