Skip to content

Commit f2d51b9

Browse files
committed
Auto merge of #5331 - dwijnand:contributing-fmt, r=matklad
Tweak rustfmt details in CONTRIBUTING.md Closes #5329
2 parents d349373 + 87770ae commit f2d51b9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

CONTRIBUTING.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,9 @@ of helpers to minimize boilerplate.
8181
installed locally, ignore the cross-compile test failures or disable them by
8282
using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. Note that some tests are enabled
8383
only on `nightly` toolchain. If you can, test both toolchains.
84-
* All code is expected to comply with the formatting suggested by `rustfmt`;
85-
discrepancy is considered an error by CI, so a pull request with unsound
86-
formatting will not be accepted. You can use `rustup component add rustfmt-preview`
87-
to install `rustfmt` and use `cargo fmt` to automatically format your code.
84+
* All code changes are expected to comply with the formatting suggested by `rustfmt`.
85+
You can use `rustup component add rustfmt-preview` to install `rustfmt` and use
86+
`cargo fmt` on the changed files to automatically format your code.
8887
* Push your commits to GitHub and create a pull request against Cargo's
8988
`master` branch.
9089

0 commit comments

Comments
 (0)