diff options
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f8796ee..f4a6702 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -49,7 +49,7 @@ $ rustup toolchain install nightly Install the most recent version of `rustfmt` using this command: ```sh -$ rustup component add rustfmt-preview --toolchain nightly +$ rustup component add rustfmt --toolchain nightly ``` **3. Running rustfmt** @@ -57,7 +57,7 @@ $ rustup component add rustfmt-preview --toolchain nightly To run `rustfmt`, use this command: ```sh -$ cargo +nightly fmt +$ cargo +nightly fmt --all ``` [rustfmt]: https://github.com/rust-lang-nursery/rustfmt |