File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ You can run `rustfmt` with Rust 1.24 and above.
18
18
To install:
19
19
20
20
```
21
- rustup component add rustfmt-preview
21
+ rustup component add rustfmt
22
22
```
23
23
24
24
to run on a cargo project in the current working directory:
@@ -29,7 +29,7 @@ cargo fmt
29
29
30
30
For the latest and greatest ` rustfmt ` (nightly required):
31
31
```
32
- rustup component add rustfmt-preview --toolchain nightly
32
+ rustup component add rustfmt --toolchain nightly
33
33
```
34
34
To run:
35
35
```
@@ -68,7 +68,7 @@ because in the future Rustfmt might work on code where it currently does not):
68
68
## Installation
69
69
70
70
```
71
- rustup component add rustfmt-preview
71
+ rustup component add rustfmt
72
72
```
73
73
74
74
## Installing from source
@@ -125,7 +125,7 @@ A minimal Travis setup could look like this (requires Rust 1.24.0 or greater):
125
125
``` yaml
126
126
language : rust
127
127
before_script :
128
- - rustup component add rustfmt-preview
128
+ - rustup component add rustfmt
129
129
script :
130
130
- cargo fmt --all -- --check
131
131
- cargo build
You can’t perform that action at this time.
0 commit comments