Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
https://rust-analyzer.github.io/manual.html#structural-search-and-replace
cargo clippy fix
General Approach for Auto Refactoring
- use
cargo build
orcargo clippy
to generate error msgs for a specific kind of issue - for each line of error (best to do it backwards), identify the place that need updates
- update the code
- iterate 1-3 multiple times until all issues are fixed