0

rustfmt: Use style_edition = "2021" instead of version = "Two".

This avoids the following warning: `Warning: the `version` option is
deprecated. Use `style_edition` instead.`

Bug: chromium:40248903
Change-Id: Iffd50834b0f007dd6256feba5252cfd4f5ac008a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5949307
Reviewed-by: danakj <danakj@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Auto-Submit: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1372097}
This commit is contained in:
Lukasz Anforowicz 2024-10-22 16:26:26 +00:00 committed by Chromium LUCI CQ
parent 8e9c198f91
commit ccbea5a802

@ -5,7 +5,7 @@
edition = "2021"
# Version of the formatting rules to use.
version = "Two"
style_edition = "2021"
# Line endings will be converted to \n.
newline_style = "Unix"