Skip to content

Commit 353ca9f

Browse files
authored
generate: format tests with edition 2024 (#2035)
1 parent e141afb commit 353ca9f

File tree

1 file changed

+1
-1
lines changed
  • rust-tooling/generate/src

1 file changed

+1
-1
lines changed

rust-tooling/generate/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ fn generate_tests(slug: &str) -> Result<String> {
131131
let rendered = rendered.replacen("#[ignore]\n", "", 1);
132132

133133
let mut child = Command::new("rustfmt")
134-
.args(["--color=always"])
134+
.args(["--color=always", "--edition=2024"])
135135
.stdin(Stdio::piped())
136136
.stdout(Stdio::piped())
137137
.stderr(Stdio::piped())

0 commit comments

Comments
 (0)