We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a529a45 + 5bcc32e commit 4686c6eCopy full SHA for 4686c6e
Changelog.md
@@ -1,3 +1,7 @@
1
+# Unreleased
2
+
3
+- Update rustfmt's defaults to use 2021 edition ([#554](https://github.com/rust-lang/rust-mode/issues/509)).
4
5
# v1.0.6
6
7
- Add support for treesitter mode.
rust-rustfmt.el
@@ -30,7 +30,7 @@
30
:type 'string
31
:group 'rust-mode)
32
33
-(defcustom rust-rustfmt-switches '("--edition" "2018")
+(defcustom rust-rustfmt-switches '("--edition" "2021")
34
"Arguments to pass when invoking the `rustfmt' executable."
35
:type '(repeat string)
36
0 commit comments