Skip to content

Commit a2f2943

Browse files
committed
Use the 2024 edition in ./x.py fmt
1 parent f922e74 commit a2f2943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/bootstrap/src/core/build_steps/format.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fn rustfmt(
3131
// Avoid the submodule config paths from coming into play. We only allow a single global config
3232
// for the workspace for now.
3333
cmd.arg("--config-path").arg(src.canonicalize().unwrap());
34-
cmd.arg("--edition").arg("2021");
34+
cmd.arg("--edition").arg("2024");
3535
cmd.arg("--unstable-features");
3636
cmd.arg("--skip-children");
3737
if check {

0 commit comments

Comments
 (0)