Format with rustfmt (#389)

* Format with rustfmt

* Add rustfmt check to CI
This commit is contained in:
Taiki Endo
2020-05-22 13:17:30 +09:00
committed by GitHub
parent 5e93fa4c6b
commit 1fbf83816b
27 changed files with 410 additions and 331 deletions
+5 -4
View File
@@ -3,9 +3,10 @@ pr: ["master"]
jobs:
# Check formatting
# - template: ci/azure-rustfmt.yml
# parameters:
# name: rustfmt
- template: ci/azure-rustfmt.yml
parameters:
name: rustfmt
rust_version: stable
# Apply clippy lints
# - template: ci/azure-clippy.yml
@@ -60,7 +61,7 @@ jobs:
- template: ci/azure-deploy-docs.yml
parameters:
dependsOn:
# - rustfmt
- rustfmt
# - clippy
- stable
- nightly