rustdoc::doctest::runner

Function generate_mergeable_doctest

Source
fn generate_mergeable_doctest(
    doctest: &DocTestBuilder,
    scraped_test: &ScrapedDocTest,
    ignore: bool,
    id: usize,
    output: &mut String,
) -> String
Expand description

Push new doctest content into output. Returns the test ID for this doctest.