From 5bcc32e13fe1d5b3fd3b4a5ce0ead2c62921a1af Mon Sep 17 00:00:00 2001 From: Javier Olaechea Date: Sat, 31 Aug 2024 00:41:29 -0500 Subject: Update rustfmt's default edition: 2018 -> 2021 --- 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 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) -- cgit v1.2.3