1 2 3 4 5 6 7 8 9 10 11
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