Function slice_diff_patch::lcs_changes
source ยท pub fn lcs_changes<T: PartialEq + Clone + Debug>(
d: &[DiffResult<T>],
) -> Vec<Change<T>>Expand description
Convert a slice of lcs_diff::DiffResult into a Vec<Change>.
Note that unlike wu_changes, b is not needed to clone inserted items because they are
included in the lcs_diff::DiffResult.