Skip to content

Commit b9b574f

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 487cbc5 commit b9b574f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

core/src/iter/adapters/mod.rs

Lines changed: 1 addition & 5 deletions
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

0 commit comments

Comments
 (0)