Remove rustfmt workaround

This commit is contained in:
Cameron Steffen 2021-06-21 10:50:36 -05:00
parent 7c9da3c1e4
commit 206bb08d10
1 changed files with 1 additions and 5 deletions

View File

@ -60,11 +60,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;
}