Skip to main content

splice_between

Function splice_between 

Source
pub fn splice_between(
    doc: &str,
    generated: &str,
    start_marker: &str,
    end_marker: &str,
) -> Result<String, String>
Expand description

splice with explicit markers, for a file whose comment syntax is not HTML.

ยงErrors

Same as splice: a missing or out-of-order marker pair.