Skip to content

Commit 2979ce8

Browse files
committed
remove from README.md
1 parent 8222381 commit 2979ce8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ You can run `rustfmt` with Rust 1.24 and above.
1818
To install:
1919

2020
```
21-
rustup component add rustfmt-preview
21+
rustup component add rustfmt
2222
```
2323

2424
to run on a cargo project in the current working directory:
@@ -29,7 +29,7 @@ cargo fmt
2929

3030
For the latest and greatest `rustfmt` (nightly required):
3131
```
32-
rustup component add rustfmt-preview --toolchain nightly
32+
rustup component add rustfmt --toolchain nightly
3333
```
3434
To run:
3535
```
@@ -68,7 +68,7 @@ because in the future Rustfmt might work on code where it currently does not):
6868
## Installation
6969

7070
```
71-
rustup component add rustfmt-preview
71+
rustup component add rustfmt
7272
```
7373

7474
## Installing from source
@@ -125,7 +125,7 @@ A minimal Travis setup could look like this (requires Rust 1.24.0 or greater):
125125
```yaml
126126
language: rust
127127
before_script:
128-
- rustup component add rustfmt-preview
128+
- rustup component add rustfmt
129129
script:
130130
- cargo fmt --all -- --check
131131
- cargo build

0 commit comments

Comments
 (0)