rust-refactor
rust-refactor copied to clipboard
Inlining variables
Initial investigation indicates inlining tuple let bindings could be interesting, as well as other destructuring assignments. Shared lifetimes means that inlining could have unintended effects. Inlining one but not the other or a split declaration refactoring could be used.