Skip to content

Commit

Permalink
docs: add --locked to cargo install commands (tokio-rs#6479)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshka authored Apr 13, 2024
1 parent ee68c1a commit a5bd0de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ as docs.rs itself does.
[`cargo docs-rs`]: https://github.com/dtolnay/cargo-docs-rs

```
cargo install cargo-docs-rs
cargo install --locked cargo-docs-rs
cargo +nightly docs-rs [--open]
```

Expand Down Expand Up @@ -261,7 +261,7 @@ directory `fuzz`. It is a good idea to run fuzz tests after each change.
To get started with fuzz testing you'll need to install
[cargo-fuzz](https://github.com/rust-fuzz/cargo-fuzz).

`cargo install cargo-fuzz`
`cargo install --locked cargo-fuzz`

To list the available fuzzing harnesses you can run;

Expand Down

0 comments on commit a5bd0de

Please sign in to comment.