Function difference::print_diff
source · [−]👎Deprecated since 1.0.0:
Changeset
now implements the Display
trait instead
Expand description
This function is deprecated, Changeset
now implements the Display
trait instead
Prints a colorful visual representation of the diff. This is just a convenience function for those who want quick results.
I recommend checking out the examples on how to build your own diff output.
Examples
use difference::print_diff;
print_diff("Diffs are awesome", "Diffs are cool", " ");