Skip to main content

debug_diff

Function debug_diff 

Source
pub fn debug_diff<T: Debug, U: Debug>(left: &T, right: &U) -> String
Expand description

Helper to create a unified diff between two Debug-formatted values.

Useful for implementing custom State::diff methods.