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

11 lines
284 B
Rust

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