Skip to main content

apply_fixes_once

Function apply_fixes_once 

Source
pub fn apply_fixes_once(input: &str, safety: FixSafety) -> FixOutcome
Expand description

Single-pass variant of apply_fixes: applies at most one round of non-conflicting fixes without iterating to a fixpoint. Useful for callers that want to show intermediate states (e.g. a CLI --diff mode).