summaryrefslogtreecommitdiff
path: root/rust-rustfmt.el
diff options
context:
space:
mode:
authorEval EXEC <execvy@gmail.com>2025-04-04 14:39:00 +0800
committerEval EXEC <execvy@gmail.com>2025-04-04 14:39:00 +0800
commit212bb631237303e5be199136ee523b6e3046367c (patch)
tree9aec0f6ea9f86693501bb412940ce2e365d0d326 /rust-rustfmt.el
parentefd830806c8519bb7f614504eac6bdfdbbac1247 (diff)
downloadrust-mode-212bb631237303e5be199136ee523b6e3046367c.tar.gz
Upgrade rustfmt edition to 2024
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 04dce45..6fb0e87 100644
--- a/rust-rustfmt.el
+++ b/rust-rustfmt.el
@@ -33,7 +33,7 @@
:type 'string
:group 'rust-mode)
-(defcustom rust-rustfmt-switches '("--edition" "2021")
+(defcustom rust-rustfmt-switches '("--edition" "2024")
"Arguments to pass when invoking the `rustfmt' executable."
:type '(repeat string)
:group 'rust-mode)