Skip to content

Commit ca31ddf

Browse files
committed
Auto merge of #6083 - mikerite:dev-fmt-20200925, r=<try>
Remove rustfmt bug workaround rust-lang/rustfmt#1873 was fixed earlier this year. changelog: none
2 parents 13a80b3 + 7822e6c commit ca31ddf

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

.github/workflows/clippy_bors.yml

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99
env:
1010
RUST_BACKTRACE: 1
1111
CARGO_TARGET_DIR: '${{ github.workspace }}/target'
12-
NO_FMT_TEST: 1
1312

1413
jobs:
1514
changelog:

clippy_dev/src/fmt.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,7 @@ pub fn run(check: bool, verbose: bool) {
4747
let entry = entry?;
4848
let path = entry.path();
4949

50-
if path.extension() != Some("rs".as_ref())
51-
|| entry.file_name() == "ice-3891.rs"
52-
// Avoid rustfmt bug rust-lang/rustfmt#1873
53-
|| cfg!(windows) && entry.file_name() == "implicit_hasher.rs"
54-
{
50+
if path.extension() != Some("rs".as_ref()) || entry.file_name() == "ice-3891.rs" {
5551
continue;
5652
}
5753

0 commit comments

Comments
 (0)