We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 40afbdd + dcd93bc commit 86ee06aCopy full SHA for 86ee06a
src/bootstrap/format.rs
@@ -13,7 +13,7 @@ fn rustfmt(src: &Path, rustfmt: &Path, paths: &[PathBuf], check: bool) -> impl F
13
// avoid the submodule config paths from coming into play,
14
// we only allow a single global config for the workspace for now
15
cmd.arg("--config-path").arg(&src.canonicalize().unwrap());
16
- cmd.arg("--edition").arg("2018");
+ cmd.arg("--edition").arg("2021");
17
cmd.arg("--unstable-features");
18
cmd.arg("--skip-children");
19
if check {
0 commit comments