From 8fae31138ad458bc03b85abb7210ca8203db1103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thi=C3=A9baud=20Weksteen?= Date: Thu, 10 Feb 2022 16:51:02 +1100 Subject: [PATCH] Update rustfmt.toml to 2021 edition Bug: 210475268 Test: $ cd system/security; find . -name \*.rs -exec rustfmt --check {} \; Change-Id: I49044e19a17d3806570d04c3215ccd3554ce7903 --- scripts/rustfmt.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rustfmt.toml b/scripts/rustfmt.toml index 617d42585..cefaa42a3 100644 --- a/scripts/rustfmt.toml +++ b/scripts/rustfmt.toml @@ -1,5 +1,5 @@ # Android Format Style -edition = "2018" +edition = "2021" use_small_heuristics = "Max" newline_style = "Unix"