Skip to content

Commit c457274

Browse files
committed
Auto merge of #6696 - ordovicia:rustfmt-install-doc, r=dwijnand
Update how to install rustfmt
2 parents 5c6aa46 + 76529b9 commit c457274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ ignore the cross-compile test failures or disable them by
9696
using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. Note that some tests are enabled
9797
only on `nightly` toolchain. If you can, test both toolchains.
9898
* All code changes are expected to comply with the formatting suggested by `rustfmt`.
99-
You can use `rustup component add --toolchain nightly rustfmt-preview` to install `rustfmt` and use
99+
You can use `rustup component add --toolchain nightly rustfmt` to install `rustfmt` and use
100100
`rustfmt +nightly --unstable-features --skip-children` on the changed files to automatically format your code.
101101
* Push your commits to GitHub and create a pull request against Cargo's
102102
`master` branch.

0 commit comments

Comments
 (0)