Skip to content

Commit

Permalink
Add 2024 edition to rustfmt tool
Browse files Browse the repository at this point in the history
This fixes bazelbuild#3287
  • Loading branch information
havasd committed Feb 23, 2025
1 parent 09472f7 commit 30ad3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rustfmt/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fn get_default_edition() -> &'static str {

/// Get a list of all editions to run formatting for
fn get_editions() -> Vec<String> {
vec!["2015".to_owned(), "2018".to_owned(), "2021".to_owned()]
vec!["2015".to_owned(), "2018".to_owned(), "2021".to_owned(), "2024".to_owned()]
}

/// Run a bazel command, capturing stdout while streaming stderr to surface errors
Expand Down

0 comments on commit 30ad3aa

Please sign in to comment.