Skip to main content

Module fix

Module fix 

Source
Expand description

Deterministic auto-fix pipeline for Violation::fixes.

Groups edits by file, sorts descending by byte-offset, refuses to touch any file with overlapping edits, and rewrites the survivors on disk.

Structs§

FileFixResult
Outcome of applying --fix to one file.
FixConflict
A pair of edits from the same file that overlap in byte range.

Functions§

apply_all
Apply every TextEdit on violations to disk, one file at a time.