Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit e653ff0

Browse files
skadetopecongiro
authored andcommitted
Recommend running rustfmt last (rust-lang#3733)
As rustfmt checks fail, they might hide errors of more importance. Running it last makes sure that the serious bugs have been found and is less frustrating.
1 parent c1d20e8 commit e653ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ language: rust
136136
before_script:
137137
- rustup component add rustfmt
138138
script:
139-
- cargo fmt --all -- --check
140139
- cargo build
141140
- cargo test
141+
- cargo fmt --all -- --check
142142
```
143143
144144
See [this blog post](https://medium.com/@ag_dubs/enforcing-style-in-ci-for-rust-projects-18f6b09ec69d)

0 commit comments

Comments
 (0)