Skip to content

Commit 1eb6c1e

Browse files
committed
Update the edition of the solution format checker
1 parent 06af3ff commit 1eb6c1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ authors = [
1515
]
1616
repository = "https://github.com/rust-lang/rustlings"
1717
license = "MIT"
18-
edition = "2024" # On Update: Update the edition of the `rustfmt` command that checks the solutions.
18+
edition = "2024" # On Update: Update the edition of `rustfmt` in `dev check` and `CARGO_TOML` in `dev new`.
1919
rust-version = "1.85"
2020

2121
[workspace.dependencies]

src/dev/check.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ fn check_solutions(
313313
fmt_cmd
314314
.arg("--check")
315315
.arg("--edition")
316-
.arg("2021")
316+
.arg("2024")
317317
.arg("--color")
318318
.arg("always")
319319
.stdin(Stdio::null());

0 commit comments

Comments
 (0)