Skip to main content

apply

Function apply 

Source
pub fn apply(text: &str, edit: &ContactEdit) -> String
Expand description

The card’s text with what the form changed, and nothing else: an unchanged value keeps its line byte for byte (its group, its PREF, its spelling), so what another application wrote is never rewritten for nothing. A card nothing changed in comes back exactly as it was.