Skip to main content

apply

Function apply 

Source
pub fn apply(edits: &[FixEdit]) -> Result<usize>
Expand description

Apply edits in place. Deletes the inclusive line ranges, bottom-up per file so earlier line numbers stay valid. Returns the number of edits applied.