Skip to main content

Module fix

Module fix 

Source

Structsยง

Fix ๐Ÿ”’
An auto-fix: replace a line range with new text.
TreeFix ๐Ÿ”’
One whole-file replacement produced by a rust-analyzer syntax-tree edit.

Functionsยง

apply_fixes ๐Ÿ”’
Apply (rel_path, fix) auto-fixes under a .tidy.lock, returning the count applied.
apply_tree_fixes ๐Ÿ”’
Apply independent whole-file tree edits for one rule under the tidy lock.