From b39d7abc5a4520cffc595ec833fa9042a1b301bd Mon Sep 17 00:00:00 2001 From: Thomas Koch Date: Sun, 27 Apr 2025 07:51:08 +0300 Subject: [PATCH] fix(tools/depotfmt.nix): double specification of edition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There already is a rustfmt.toml in the depot root specifying the edition. Removing the option enables projects in the depot to update to newer editions independently. Fixes: https://b.tvl.fyi/issues/442 Change-Id: I15d30f69040a4ec327fd099c508e5c11cec2aecc Reviewed-on: https://cl.tvl.fyi/c/depot/+/13347 Reviewed-by: thk Reviewed-by: tazjin Tested-by: BuildkiteCI Reviewed-on: https://cl.snix.dev/c/snix/+/30342 Autosubmit: Florian Klink Tested-by: besadii Reviewed-by: Domen Kožar --- tools/depotfmt.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/depotfmt.nix b/tools/depotfmt.nix index 44cad1cfa..062b82619 100644 --- a/tools/depotfmt.nix +++ b/tools/depotfmt.nix @@ -18,7 +18,6 @@ let [formatter.rust] command = "${pkgs.rustfmt}/bin/rustfmt" - options = ["--edition", "2021"] includes = [ "*.rs" ] [formatter.editorconfig]