diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-07 22:56:14 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-02-07 22:56:14 +0000 |
commit | 9a1d2a46c249fa81294c156b9e23b624e14495cd (patch) | |
tree | 774b4ad5f5f769e6045330c1b886ac1995eb2066 /editors/code/src | |
parent | 7e3776ca56a7f042a6a07f7cc2a4b27feb652516 (diff) | |
parent | be7c5eecc4ec9e099bf34e78289cd672aacbd168 (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/code/src')
0 files changed, 0 insertions, 0 deletions