Skip to content

Commit e3cc0c5

Browse files
authored
Update coverage-instrumentation.md
CI broken, presumably by rust-lang/rust#134672.
1 parent 3905456 commit e3cc0c5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/attributes/coverage-instrumentation.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ The attribute uses the [_MetaListIdents_] syntax to specify its behavior:
2020
* `#[coverage(on)]` (the default) indicates that all functions within an item, recursively, *should* be instrumented, unless specified by another attribute.
2121

2222
```rust
23+
#![feature(coverage_attribute)]
24+
2325
#[coverage(off)]
2426
fn example() {}
2527

0 commit comments

Comments
 (0)