summaryrefslogtreecommitdiff
path: root/rust-rustfmt.el
diff options
context:
space:
mode:
Diffstat (limited to 'rust-rustfmt.el')
-rw-r--r--rust-rustfmt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-rustfmt.el b/rust-rustfmt.el
index cab183c..ba3dbe2 100644
--- a/rust-rustfmt.el
+++ b/rust-rustfmt.el
@@ -30,7 +30,7 @@
:type 'string
:group 'rust-mode)
-(defcustom rust-rustfmt-switches '("--edition" "2018")
+(defcustom rust-rustfmt-switches '("--edition" "2021")
"Arguments to pass when invoking the `rustfmt' executable."
:type '(repeat string)
:group 'rust-mode)