Skip to content

Commit

Permalink
Merge pull request #937 from godot-rust/bugfix/rustfmt-2021
Browse files Browse the repository at this point in the history
codegen-rustfmt: use 2021 edition
  • Loading branch information
Bromeon authored Nov 3, 2024
2 parents 337ebbd + b9bc10f commit 19147e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions godot-codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ mod rustfmt {

for files in out_files.chunks(20) {
let mut command = Command::new("rustfmt");
command.arg("--edition");
command.arg("2021");

for file in files {
command.arg(file);
}
Expand Down

0 comments on commit 19147e8

Please sign in to comment.