From e1dc7b9a8df520da7ccbd3432ef320c646b09c33 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Fri, 25 Sep 2020 06:13:09 +0200 Subject: [PATCH] Remove rustfmt bug workaround rust-lang/rustfmt#1873 was fixed earlier this year. --- clippy_dev/src/fmt.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/clippy_dev/src/fmt.rs b/clippy_dev/src/fmt.rs index 6ae3f58c1f2a..a159c923fce4 100644 --- a/clippy_dev/src/fmt.rs +++ b/clippy_dev/src/fmt.rs @@ -47,11 +47,7 @@ pub fn run(check: bool, verbose: bool) { let entry = entry?; let path = entry.path(); - if path.extension() != Some("rs".as_ref()) - || entry.file_name() == "ice-3891.rs" - // Avoid rustfmt bug rust-lang/rustfmt#1873 - || cfg!(windows) && entry.file_name() == "implicit_hasher.rs" - { + if path.extension() != Some("rs".as_ref()) || entry.file_name() == "ice-3891.rs" { continue; }