Skip to main content

diff_snapshot

Function diff_snapshot 

Source
pub fn diff_snapshot(old: &str, new: &str) -> String
Expand description

Creates a “unified” diff between the two line-oriented strings suitable for snapshotting.