docs(contrib): Suggest cargo test -p typos-dict for dict contribs

There is no need to build the whole workspace, using `-p typos-dict`
spares the contributor from needlessly building 261 crates.
This commit is contained in:
Martin Fischer 2023-08-11 13:39:22 +02:00
parent 5b537a0662
commit b06b7d5e0b

View file

@ -45,7 +45,7 @@ Otherwise, to add to the dictionary:
With `cargo` and `rustfmt` installed, run
```console
$ SNAPSHOTS=overwrite cargo test --workspace
$ SNAPSHOTS=overwrite cargo test -p typos-dict
```
(we do development-time code-gen to speed up builds)
@ -58,7 +58,7 @@ Otherwise, to add to the dictionary:
Run
```console
$ cargo test --workspace
$ cargo test -p typos-dict
```
### Process