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.
ยงPanics
Panics if not able to resolve the old index of a removed item or the new index of an added item