aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-02-07 22:56:14 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-02-07 22:56:14 +0000
commit9a1d2a46c249fa81294c156b9e23b624e14495cd (patch)
tree774b4ad5f5f769e6045330c1b886ac1995eb2066 /editors
parent7e3776ca56a7f042a6a07f7cc2a4b27feb652516 (diff)
parentbe7c5eecc4ec9e099bf34e78289cd672aacbd168 (diff)
Merge #760
760: Add new assist to remove dbg!() calls r=matklad a=vipentti This fixes #758. Currently we try to maintain the cursor position relative to the statement under cursor, if the cursor is inside the dbg! macro call. Meaning: ```rust let foo = dbg!(some.complex<|>().expression()); ``` Should turn into: ```rust let foo = some.complex<|>().expression(); ``` With the cursor staying in place. Co-authored-by: Ville Penttinen <[email protected]>
Diffstat (limited to 'editors')
0 files changed, 0 insertions, 0 deletions