Skip to main content

gen_ed_diff

Function gen_ed_diff 

Source
pub(crate) fn gen_ed_diff(
    base: &str,
    target: &str,
) -> Result<String, GenEdDiffError>
Expand description

Generates an input agnostic ed diff.

This function does the general logic of gen_cons_diff() but works in a document agnostic fashion.