mdbook/tests/testsuite/includes/all_includes/src/partially-included-test-with-anchors.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
284 B
Rust
Raw Normal View History

fn some_other_function() {
// ANCHOR: unused-anchor-that-should-be-stripped
println!("unused anchor");
// ANCHOR_END: unused-anchor-that-should-be-stripped
}
// ANCHOR: rustdoc-include-anchor
fn main() {
some_other_function();
}
// ANCHOR_END: rustdoc-include-anchor