Skip to main content

diff

Function diff 

Source
pub fn diff<M>(
    title: impl Into<String>,
    lines: impl IntoIterator<Item = (Change, String)>,
) -> Node<M>
Expand description

A change to a file, titled with its name: lines added, removed, and some unchanged ones around them. The host counts what was added and removed.