Function splice
Source pub fn splice(doc: &str, generated: &str) -> Result<String, String>
Expand description
Replaces the region between GEN_START and GEN_END in doc.
ยงErrors
Returns a description when the markers are missing or out of order,
rather than appending and quietly producing two generated regions.