Browse Source

Update rustfmt.toml to 2021 edition

Bug: 210475268
Test: $ cd system/security; find . -name \*.rs -exec rustfmt --check {} \;
Change-Id: I49044e19a17d3806570d04c3215ccd3554ce7903
Thiébaud Weksteen 2 years ago
parent
commit
8fae31138a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/rustfmt.toml

+ 1 - 1
scripts/rustfmt.toml

@@ -1,5 +1,5 @@
 # Android Format Style
 
-edition = "2018"
+edition = "2021"
 use_small_heuristics = "Max"
 newline_style = "Unix"