mitsuhiko / similar

A high level diffing library for rust based on diffs
https://insta.rs/similar
Apache License 2.0
949 stars 31 forks source link

Make the change type be generic over any T rather &T #31

Closed mitsuhiko closed 2 years ago

mitsuhiko commented 2 years ago

This makes the interface of this crate more flexible as the utility methods such as iter_changes now also work if a container does not contain references.

Fixes #29