Function rustdoc::html::highlight::render_example_with_highlighting
source · pub(crate) fn render_example_with_highlighting(
src: &str,
out: &mut Buffer,
tooltip: Tooltip,
playground_button: Option<&str>,
extra_classes: &[String]
)
Expand description
Highlights src
as an inline example, returning the HTML output.