summaryrefslogtreecommitdiff
path: root/rust-rustfmt.el
diff options
context:
space:
mode:
authorJen-Chieh Shen <jcs090218@gmail.com>2025-04-23 08:15:15 +0800
committerGitHub <noreply@github.com>2025-04-23 08:15:15 +0800
commit25d91cff281909e9b7cb84e31211c4e7b0480f94 (patch)
tree06d758aaf14cf693c07c422895b0ded39c1142cb /rust-rustfmt.el
parent9041d43013d31a92cac337c5367f00a3069302f9 (diff)
parent212bb631237303e5be199136ee523b6e3046367c (diff)
downloadrust-mode-25d91cff281909e9b7cb84e31211c4e7b0480f94.tar.gz
Merge pull request #567 from eval-exec/exec/upgrade-rust-2024
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)