Skip to main content

unified_diff

Function unified_diff 

Source
pub fn unified_diff(expected: &str, received: &str) -> String
Expand description

Unified diff between two pretty-printed strings. Lines are prefixed with - / + / ; empty when the two inputs are byte-identical.