Skip to main content

Module editor

Module editor 

Source
Expand description

The RustEditor is the core engine of rs-hack. It parses Rust source into a syn AST, applies refactoring operations (add/remove/rename/update), and emits modified code via surgical edits or prettyplease reformatting.

Structsยง

RustEditor