Skip to content

Commit

Permalink
Use 2021 edition in ./x.py fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Feb 22, 2022
1 parent b8967b0 commit dcd93bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/format.rs
Expand Up @@ -13,7 +13,7 @@ fn rustfmt(src: &Path, rustfmt: &Path, paths: &[PathBuf], check: bool) -> impl F
// avoid the submodule config paths from coming into play,
// we only allow a single global config for the workspace for now
cmd.arg("--config-path").arg(&src.canonicalize().unwrap());
cmd.arg("--edition").arg("2018");
cmd.arg("--edition").arg("2021");
cmd.arg("--unstable-features");
cmd.arg("--skip-children");
if check {
Expand Down

0 comments on commit dcd93bc

Please sign in to comment.