Skip to content

Commit

Permalink
Rollup merge of rust-lang#95954 - AnthonyMikh:fix-broken-coverage-doc…
Browse files Browse the repository at this point in the history
…s-screenshot-link, r=Dylan-DPC

Fix broken link in coverage tools docs

During stabilization the link to example screenshot wad not updated, making rendered docs somewhat less useful. Move that screenshot from unstable book into rustc docs and make documentation point to that new place. Also remove `/img` in unstable book since there are no more any files there.
  • Loading branch information
Dylan-DPC authored Apr 13, 2022
2 parents 4085f16 + 39e83c1 commit c92e52c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/rustc/src/instrument-coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ $ llvm-cov show -Xdemangler=rustfilt target/debug/examples/formatjson5 \
-name=add_quoted_string
```

<img alt="Screenshot of sample `llvm-cov show` result, for function add_quoted_string" src="img/llvm-cov-show-01.png" class="center"/>
<img alt="Screenshot of sample `llvm-cov show` result, for function add_quoted_string" src="images/llvm-cov-show-01.png" class="center"/>
<br/>
<br/>

Expand Down

0 comments on commit c92e52c

Please sign in to comment.