Skip to main content

splice

Function splice 

fn splice(
    doc: &dyn GeneratedDoc,
    existing: &str,
    content: &str,
) -> Result<String, Error>
Expand description

Builds the bytes the page should hold: its own framing, with content between the pragmas.