Use the 2024 edition in ./x.py fmt

This commit is contained in:
bjorn3 2025-04-01 14:12:30 +00:00
parent f922e74f71
commit a2f29439bf

View file

@ -31,7 +31,7 @@ fn rustfmt(
// 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("2021");
cmd.arg("--edition").arg("2024");
cmd.arg("--unstable-features");
cmd.arg("--skip-children");
if check {