Skip to content

Commit 25d91cf

Browse files
authored
Merge pull request #567 from eval-exec/exec/upgrade-rust-2024
Upgrade rustfmt edition to 2024
2 parents 9041d43 + 212bb63 commit 25d91cf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Changelog.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Unreleased
22

3+
- Update rustfmt's defaults to use 2024 edition ([#566](https://github.com/rust-lang/rust-mode/issues/509)).
34
- Update rustfmt's defaults to use 2021 edition ([#554](https://github.com/rust-lang/rust-mode/issues/509)).
45
- Introduce `rust-format-mode` for `rust-format-buffer` ([#556](https://github.com/rust-lang/rust-mode/pull/556)).
56

rust-rustfmt.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
:type 'string
3434
:group 'rust-mode)
3535

36-
(defcustom rust-rustfmt-switches '("--edition" "2021")
36+
(defcustom rust-rustfmt-switches '("--edition" "2024")
3737
"Arguments to pass when invoking the `rustfmt' executable."
3838
:type '(repeat string)
3939
:group 'rust-mode)

0 commit comments

Comments
 (0)