Skip to main content

simple_diff

Function simple_diff 

Source
pub fn simple_diff(
    before: &str,
    after: &str,
    theme: &Theme,
) -> Vec<Line<'static>>
Expand description

A simple line diff for the fix preview: unchanged context around -/+ runs, computed by trimming the common prefix and suffix.