| 1 |
fn some_other_function() { |
| 2 |
// ANCHOR: unused-anchor-that-should-be-stripped |
| 3 |
println!("unused anchor"); |
| 4 |
// ANCHOR_END: unused-anchor-that-should-be-stripped |
| 5 |
} |
| 6 |
|
| 7 |
// ANCHOR: rustdoc-include-anchor |
| 8 |
fn main() { |
| 9 |
some_other_function(); |
| 10 |
} |
| 11 |
// ANCHOR_END: rustdoc-include-anchor |