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