Skip to main content

Module fix

Module fix 

Source
Expand description

Safe auto-fix: removes only confidence: certain, auto_fixable unused symbols and unused imports (never files, never lower-confidence findings). Dry-run by default at the CLI; this module computes a plan and can apply it.

Structs§

FixEdit

Functions§

apply
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.
plan
Compute the set of safe edits (deleting unused-symbol line ranges).