Skip to main content

line_diff

Function line_diff 

Source
pub fn line_diff<'a>(before: &'a str, after: &'a str) -> impl Display + 'a
Expand description

Formats a line-oriented diff with the same prefixes as rustc MIR tests.