I rewrote https://github.com/Andriamanitra/clash/pull/18 because it became too messy. This way it should be easier for testing. I don't think I'll touch the dissimilar branch again, and I will delete it once the topic is sorted out.
I kept the three alternative functions for outputting the difference of clash run. The last two, using the difference crate are due to @ellnix.
I only adapted it to your previous refactoring, and also removed the abbreviation part of zipped_difference, that now returns a string.
I rewrote https://github.com/Andriamanitra/clash/pull/18 because it became too messy. This way it should be easier for testing. I don't think I'll touch the dissimilar branch again, and I will delete it once the topic is sorted out.
I kept the three alternative functions for outputting the difference of
clash run
. The last two, using the difference crate are due to @ellnix.I only adapted it to your previous refactoring, and also removed the abbreviation part of
zipped_difference
, that now returns a string.