Skip to content

Commit

Permalink
Auto merge of #6696 - ordovicia:rustfmt-install-doc, r=dwijnand
Browse files Browse the repository at this point in the history
Update how to install rustfmt
  • Loading branch information
bors committed Feb 23, 2019
2 parents 5c6aa46 + 76529b9 commit c457274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ignore the cross-compile test failures or disable them by
using `CFG_DISABLE_CROSS_TESTS=1 cargo test`. Note that some tests are enabled
only on `nightly` toolchain. If you can, test both toolchains.
* All code changes are expected to comply with the formatting suggested by `rustfmt`.
You can use `rustup component add --toolchain nightly rustfmt-preview` to install `rustfmt` and use
You can use `rustup component add --toolchain nightly rustfmt` to install `rustfmt` and use
`rustfmt +nightly --unstable-features --skip-children` on the changed files to automatically format your code.
* Push your commits to GitHub and create a pull request against Cargo's
`master` branch.
Expand Down

0 comments on commit c457274

Please sign in to comment.