pub fn extract_doctests(docs_markdown: &str) -> Vec<Doctest>Expand description
Parse the docstring markdown and return every code fence as a Doctest.
Doctests in rustdoc are any ``` fence whose language token is empty, rust,
or starts with rust,. We also surface non-rust fences so the renderer can
label them; the caller filters on lang/fence_attributes.