rust-analyzer/crates/ra_assists
bors[bot] 7b6aa7c34e
Merge #2343
2343: implement assist invert_if r=matklad a=bravomikekilo

fix [issue 2219 invert if condition](https://github.com/rust-analyzer/rust-analyzer/issues/2219)
I put the assist cursor range to `if` of the if expression, because both condition and body will be replaced. Is there any way to replace them without cover the cursor position?
@matklad 

Co-authored-by: bravomikekilo <bmk1221@126.com>
2019-11-24 08:32:07 +00:00
..
src Merge #2343 2019-11-24 08:32:07 +00:00
Cargo.toml Disable doctests 2019-11-17 18:35:05 +03:00