chore: fix formatting, remove old rustfmt.toml (#2007)

`cargo fmt` has a bug where it does not format modules scoped with
feature flags.
This commit is contained in:
Artem Vorotnikov
2019-12-21 12:28:57 -08:00
committed by Carl Lerche
parent f309b295bb
commit 8656b7b8eb
34 changed files with 181 additions and 148 deletions
+2 -1
View File
@@ -13,5 +13,6 @@ jobs:
cargo fmt --version
displayName: Install rustfmt
- script: |
cargo fmt --all -- --check
# Workaround for rust-lang/cargo#7732
rustfmt --check --edition 2018 $(find . -name '*.rs' -print)
displayName: Check formatting