Skip to content

Commit 2213904

Browse files
committed
Small updates to CONTRIBUTING.md
1 parent 5b01f7a commit 2213904

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ to style guidelines. The code has to be formatted by `rustfmt` before a PR will
156156

157157
It can be installed via `rustup`:
158158
```bash
159-
rustup component add rustfmt-preview
159+
rustup component add rustfmt
160160
```
161161

162162
Use `cargo fmt --all` to format the whole codebase.
@@ -220,7 +220,7 @@ That's why the `else_if_without_else` example uses the `register_early_lint_pass
220220

221221
### Fixing build failures caused by Rust
222222

223-
Clippy will sometimes break because it still depends on unstable internal Rust features. Most of the times we have to adapt to the changes and only very rarely there's an actual bug in Rust. Fixing build failures caused by Rust updates, can be a good way to learn about Rust internals.
223+
Clippy will sometimes fail to build from source because building it depends on unstable internal Rust features. Most of the times we have to adapt to the changes and only very rarely there's an actual bug in Rust. Fixing build failures caused by Rust updates, can be a good way to learn about Rust internals.
224224

225225
In order to find out why Clippy does not work properly with a new Rust commit, you can use the [rust-toolstate commit history][toolstate_commit_history].
226226
You will then have to look for the last commit that contains `test-pass -> build-fail` or `test-pass` -> `test-fail` for the `clippy-driver` component. [Here][toolstate_commit] is an example.

0 commit comments

Comments
 (0)