docs: Replace deprecated `--all` flag with `--workspace`

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez 2023-07-25 15:46:59 +02:00 committed by Alexis Sellier
parent 3366535c9d
commit 1241bbb4e8
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ simple guidelines.
Always check your code with the linter (`clippy`), by running: Always check your code with the linter (`clippy`), by running:
$ cargo clippy --all --tests $ cargo clippy --workspace --tests
And make sure your code is formatted with, using: And make sure your code is formatted with, using:
@ -23,14 +23,14 @@ Finally, ensure there is no trailing whitespace anywhere.
Make sure all tests are passing with: Make sure all tests are passing with:
$ cargo test --all $ cargo test --workspace
## Checking the docs ## Checking the docs
If you make documentation changes, you may want to check whether there are any If you make documentation changes, you may want to check whether there are any
warnings or errors: warnings or errors:
$ cargo doc --all --all-features $ cargo doc --workspace --all-features
## Code style ## Code style