[−][src]Function rustdoc::html::markdown::rust_code_blocks

pub(crate) fn rust_code_blocks(
    md: &str,
    extra_info: &ExtraInfo<'_, '_>
) -> Vec<RustCodeBlock>

Returns a range of bytes for each code block in the markdown that is tagged as rust or untagged (and assumed to be rust).