Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bump the version of rustfmt used in tidy
To pick up rust-lang/rustfmt#4461
So that rustfmt has the parsing fix from #76274

...and do a reformat that it wants.
  • Loading branch information
scottmcm committed Oct 13, 2020
1 parent 5573a16 commit 8374c17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions library/core/src/iter/adapters/mod.rs
Expand Up @@ -2381,11 +2381,7 @@ where
}

let n = self.len();
if n == 0 {
try { init }
} else {
self.iter.try_rfold(init, check(n, fold)).into_try()
}
if n == 0 { try { init } } else { self.iter.try_rfold(init, check(n, fold)).into_try() }
}

fn rfold<Acc, Fold>(mut self, init: Acc, fold: Fold) -> Acc
Expand Down
2 changes: 1 addition & 1 deletion src/stage0.txt
Expand Up @@ -20,7 +20,7 @@ cargo: beta
# bootstrapping issues with use of new syntax in this repo. If you're looking at
# the beta/stable branch, this key should be omitted, as we don't want to depend
# on rustfmt from nightly there.
rustfmt: nightly-2020-10-07
rustfmt: nightly-2020-10-12

# When making a stable release the process currently looks like:
#
Expand Down

0 comments on commit 8374c17

Please sign in to comment.