Skip to content

Commit

Permalink
generate: format tests with edition 2024 (#2035)
Browse files Browse the repository at this point in the history
  • Loading branch information
senekor authored Feb 22, 2025
1 parent e141afb commit 353ca9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-tooling/generate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fn generate_tests(slug: &str) -> Result<String> {
let rendered = rendered.replacen("#[ignore]\n", "", 1);

let mut child = Command::new("rustfmt")
.args(["--color=always"])
.args(["--color=always", "--edition=2024"])
.stdin(Stdio::piped())
.stdout(Stdio::piped())
.stderr(Stdio::piped())
Expand Down

0 comments on commit 353ca9f

Please sign in to comment.