Skip to main content

only_additions

Function only_additions 

Source
pub fn only_additions(old: &str, new: &str) -> bool
Expand description

Whether every line of old survives, unchanged and in order, in new: the change only adds lines ([tests] frozen = "additions").