pub fn diff_debug<T: Debug>(left: &T, right: &T) -> StringExpand description
Returns a formatted diff of two values using their Debug representations.
Both values are formatted with {:#?} (pretty-printed Debug), then compared
line by line. Color output respects the NO_COLOR environment variable.
ยงExamples
use philiprehberger_diff_assert::diff_debug;
let left = vec![1, 2, 3];
let right = vec![1, 4, 3];
let result = diff_debug(&left, &right);
// Shows a diff of the pretty-printed Debug output