[−][src]Function mdbook::utils::take_rustdoc_include_anchored_lines
pub fn take_rustdoc_include_anchored_lines(s: &str, anchor: &str) -> String
Keep lines between the anchor comments specified as-is.
For any lines not between the anchors, include them but use #
at the beginning. This will
hide the lines from initial display but include them when expanding the code snippet or testing
with rustdoc.