Rollup merge of #82810 - amaurremi:source-based-coverage-typo, r=ehuss

Typo fix in Unstable book: `cargo cov` -> `cargo profdata`
This commit is contained in:
Mara Bos 2021-03-08 20:09:00 +01:00 committed by GitHub
commit 09b17a1c2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ $ cargo profdata -- --help # note the additional "--" preceding the tool-specif
## Creating coverage reports
Raw profiles have to be indexed before they can be used to generate coverage reports. This is done using [`llvm-profdata merge`] (or `cargo cov -- merge`), which can combine multiple raw profiles and index them at the same time:
Raw profiles have to be indexed before they can be used to generate coverage reports. This is done using [`llvm-profdata merge`] (or `cargo profdata -- merge`), which can combine multiple raw profiles and index them at the same time:
```shell
$ llvm-profdata merge -sparse formatjson5.profraw -o formatjson5.profdata