Skip to main content

apply_fixes

Function apply_fixes 

Source
pub fn apply_fixes(source: &str) -> (String, u32)
Expand description

Apply auto-fixes for fixable lints. Returns the fixed source content and the number of fixes applied.

Currently fixable: missing-type (adds TYPE any).