pub fn apply_patches( source: &str, patches: &[Patch<'_>], ) -> Result<String, Error>
Apply sorted, non-overlapping source patches.