@@ -145,23 +145,15 @@ information to know more about the functions you're trying to call.
145
145
$ rustup component add rust-src
146
146
```
147
147
148
- ### The "preview" components
149
-
150
- There are several components in a "preview" stage. These components currently
151
- have ` -preview ` in their name, and this indicates that they're not quite 100%
152
- ready for general consumption yet. Please try them out and give us feedback,
153
- but know that they do not follow Rust's stability guarantees, and are still
154
- actively changing, possibly in backwards-incompatible ways.
155
-
156
- #### ` rustfmt-preview ` for automatic code formatting
148
+ ### ` rustfmt ` for automatic code formatting
157
149
158
150
![ Minimum Rust version: 1.24] ( https://img.shields.io/badge/Minimum%20Rust%20Version-1.24-brightgreen.svg )
159
151
160
152
If you'd like to have your code automatically formatted, you can
161
153
install this component:
162
154
163
155
``` console
164
- $ rustup component add rustfmt-preview
156
+ $ rustup component add rustfmt
165
157
```
166
158
167
159
This will install two tools, ` rustfmt ` and ` cargo-fmt ` , that will reformat your
@@ -173,7 +165,7 @@ $ cargo fmt
173
165
174
166
will reformat your entire Cargo project.
175
167
176
- #### ` rls-preview ` for IDE integration
168
+ ### ` rls ` for IDE integration
177
169
178
170
![ Minimum Rust version: 1.21] ( https://img.shields.io/badge/Minimum%20Rust%20Version-1.21-brightgreen.svg )
179
171
@@ -182,17 +174,18 @@ protocol](http://langserver.org/). To gain support for Rust with these IDEs,
182
174
you'll need to install the Rust language sever, aka the "RLS":
183
175
184
176
``` console
185
- $ rustup component add rls-preview
177
+ $ rustup component add rls
186
178
```
187
179
188
- Your IDE should take it from there.
180
+ For more information about integrating this into your IDE, see the [ RLS
181
+ documentation] ( https://github.com/rust-lang/rls ) .
189
182
190
- #### ` clippy-preview ` for more lints
183
+ ### ` clippy ` for more lints
191
184
192
185
For even more lints to help you write Rust code, you can install ` clippy ` :
193
186
194
187
``` console
195
- $ rustup component add clippy-preview
188
+ $ rustup component add clippy
196
189
```
197
190
198
191
This will install ` cargo-clippy ` for you:
@@ -202,7 +195,15 @@ $ cargo clippy
202
195
```
203
196
204
197
For more, check out [ clippy's
205
- documentation] ( https://github.com/rust-lang-nursery/rust-clippy ) .
198
+ documentation] ( https://github.com/rust-lang/rust-clippy ) .
199
+
200
+ ### The "preview" components
201
+
202
+ There are several components in a "preview" stage. These components currently
203
+ have ` -preview ` in their name, and this indicates that they're not quite 100%
204
+ ready for general consumption yet. Please try them out and give us feedback,
205
+ but know that they do not follow Rust's stability guarantees, and are still
206
+ actively changing, possibly in backwards-incompatible ways.
206
207
207
208
#### ` llvm-tools-preview ` for using extra LLVM tools
208
209
0 commit comments