Skip to main content

diff

Function diff 

Source
pub fn diff(old: &Node, new: &Node) -> Vec<Patch>
Expand description

Patches that turn old into new (apply(old, diff(old, new)) gives new); none if they are equal.