Skip to content

Commit a8b374f

Browse files
committed
Auto merge of #7386 - camsteffen:fmt-workaround, r=flip1995
Remove rustfmt bug workaround The bug is reportedly fixed. changelog: none
2 parents 86bf28d + 206bb08 commit a8b374f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

clippy_dev/src/fmt.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,7 @@ pub fn run(check: bool, verbose: bool) {
6060
let entry = entry?;
6161
let path = entry.path();
6262

63-
if path.extension() != Some("rs".as_ref())
64-
|| entry.file_name() == "ice-3891.rs"
65-
// Avoid rustfmt bug rust-lang/rustfmt#1873
66-
|| cfg!(windows) && entry.file_name() == "implicit_hasher.rs"
67-
{
63+
if path.extension() != Some("rs".as_ref()) || entry.file_name() == "ice-3891.rs" {
6864
continue;
6965
}
7066

0 commit comments

Comments
 (0)