Skip to content

Commit 73b4272

Browse files
committed
Move mention of rustc to a side note
and link to the rustc documentation.
1 parent 6847eb7 commit 73b4272

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/attributes/coverage-instrumentation.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Coverage instrumentation attributes
22

3-
The following [attributes] are used for controlling coverage instrumentation, which can be enabled with the `-C instrument-coverage` compiler flag.
3+
The following [attributes] are used for controlling coverage instrumentation.
4+
5+
> **Note**: Coverage instrumentation is controlled in `rustc` with the [`-C instrument-coverage`] compiler flag.
6+
7+
[`-C instrument-coverage`]: ../../rustc/instrument-coverage.html
48

59
### The `coverage` attribute
610

0 commit comments

Comments
 (0)