Skip to main content

apply_edits

Function apply_edits 

Source
pub fn apply_edits(text: &str, spans: &[Span], new_name: &str) -> String
Expand description

Apply one file’s edits (spans ascending) to its snapshot text.