rust-refactor icon indicating copy to clipboard operation
rust-refactor copied to clipboard

Inlining variables

Open nrc opened this issue 10 years ago • 1 comments

nrc avatar Jul 10 '15 01:07 nrc

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.

GSam avatar Jul 16 '15 14:07 GSam