Function colored_diff::diff[][src]

pub fn diff(f: &mut Formatter, expected: &str, actual: &str) -> Result

Format the difference between strings using GitHub-like formatting with ANSI coloring.