From 212bb631237303e5be199136ee523b6e3046367c Mon Sep 17 00:00:00 2001 From: Eval EXEC Date: Fri, 4 Apr 2025 14:39:00 +0800 Subject: Upgrade rustfmt edition to 2024 --- rust-rustfmt.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust-rustfmt.el') 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) -- cgit v1.2.3