]> git.lizzy.rs Git - rust.git/commitdiff
Remove rustfmt workaround
authorCameron Steffen <cam.steffen94@gmail.com>
Mon, 21 Jun 2021 15:50:36 +0000 (10:50 -0500)
committerCameron Steffen <cam.steffen94@gmail.com>
Mon, 21 Jun 2021 15:50:48 +0000 (10:50 -0500)
clippy_dev/src/fmt.rs

index 1517cdc9419626600ad03b60cbc28e1ef1cc7d42..edc8e6a629ce75f3a52a77c33f84cf9c8d3fb0da 100644 (file)
@@ -60,11 +60,7 @@ fn try_run(context: &FmtContext) -> Result<bool, CliError> {
             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;
             }