Skip to content

Commit 19147e8

Browse files
authored
Merge pull request #937 from godot-rust/bugfix/rustfmt-2021
codegen-rustfmt: use 2021 edition
2 parents 337ebbd + b9bc10f commit 19147e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

godot-codegen/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ mod rustfmt {
7373

7474
for files in out_files.chunks(20) {
7575
let mut command = Command::new("rustfmt");
76+
command.arg("--edition");
77+
command.arg("2021");
78+
7679
for file in files {
7780
command.arg(file);
7881
}

0 commit comments

Comments
 (0)