Skip to content

Commit 8374c17

Browse files
committed
Bump the version of rustfmt used in tidy
To pick up rust-lang/rustfmt#4461 So that rustfmt has the parsing fix from rust-lang#76274 ...and do a reformat that it wants.
1 parent 5573a16 commit 8374c17

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

library/core/src/iter/adapters/mod.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -2381,11 +2381,7 @@ where
23812381
}
23822382

23832383
let n = self.len();
2384-
if n == 0 {
2385-
try { init }
2386-
} else {
2387-
self.iter.try_rfold(init, check(n, fold)).into_try()
2388-
}
2384+
if n == 0 { try { init } } else { self.iter.try_rfold(init, check(n, fold)).into_try() }
23892385
}
23902386

23912387
fn rfold<Acc, Fold>(mut self, init: Acc, fold: Fold) -> Acc

src/stage0.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cargo: beta
2020
# bootstrapping issues with use of new syntax in this repo. If you're looking at
2121
# the beta/stable branch, this key should be omitted, as we don't want to depend
2222
# on rustfmt from nightly there.
23-
rustfmt: nightly-2020-10-07
23+
rustfmt: nightly-2020-10-12
2424

2525
# When making a stable release the process currently looks like:
2626
#

0 commit comments

Comments
 (0)