Skip to main content

apply_fixes_to_file

Function apply_fixes_to_file 

Source
pub fn apply_fixes_to_file(path: &Path, fixes: &[Fix]) -> Result<usize, String>
Expand description

Apply fixes to a file: read -> fix -> verify syntax -> write. Returns the number of fixes applied, or an error.