Skip to content

Commit 94abf62

Browse files
committed
Update rustfmt's default edition: 2018 -> 2021
1 parent a529a45 commit 94abf62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust-rustfmt.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
:type 'string
3131
:group 'rust-mode)
3232

33-
(defcustom rust-rustfmt-switches '("--edition" "2018")
33+
(defcustom rust-rustfmt-switches '("--edition" "2021")
3434
"Arguments to pass when invoking the `rustfmt' executable."
3535
:type '(repeat string)
3636
:group 'rust-mode)

0 commit comments

Comments
 (0)