Function rustdoc::html::markdown::rust_code_blocks
source · pub(crate) fn rust_code_blocks(
md: &str,
extra_info: &ExtraInfo<'_>,
custom_code_classes_in_docs: bool
) -> Vec<RustCodeBlock>
Expand description
Returns a range of bytes for each code block in the markdown that is tagged as rust
or
untagged (and assumed to be rust).