Skip to content

Commit 3ec0219

Browse files
committed
Remove unnecessary condition
1 parent 53084ff commit 3ec0219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tidy/src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub fn check(path: &Path, bad: &mut bool) {
1515
&mut |path| super::filter_dirs(path) || path.ends_with("src/test"),
1616
&mut |file| {
1717
let filename = file.file_name().unwrap().to_string_lossy();
18-
if filename != "error_codes.rs" && filename != "diagnostic_list.rs" {
18+
if filename != "error_codes.rs" {
1919
return
2020
}
2121

0 commit comments

Comments
 (0)