1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-05-13 22:06:28 +02:00

Update the edition of the solution format checker

This commit is contained in:
mo8it 2025-02-21 13:06:11 +01:00
parent 06af3ffc99
commit 1eb6c1e469
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ authors = [
] ]
repository = "https://github.com/rust-lang/rustlings" repository = "https://github.com/rust-lang/rustlings"
license = "MIT" license = "MIT"
edition = "2024" # On Update: Update the edition of the `rustfmt` command that checks the solutions. edition = "2024" # On Update: Update the edition of `rustfmt` in `dev check` and `CARGO_TOML` in `dev new`.
rust-version = "1.85" rust-version = "1.85"
[workspace.dependencies] [workspace.dependencies]

View File

@ -313,7 +313,7 @@ fn check_solutions(
fmt_cmd fmt_cmd
.arg("--check") .arg("--check")
.arg("--edition") .arg("--edition")
.arg("2021") .arg("2024")
.arg("--color") .arg("--color")
.arg("always") .arg("always")
.stdin(Stdio::null()); .stdin(Stdio::null());