diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-27 05:40:18 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-27 05:40:18 +0000 |
commit | de8f72aad9d708fd26e450779623dd5cd4e38568 (patch) | |
tree | a08d008c4faf2c1defe803f66e2d3fef8b1ea60e /crates/ra_hir/src/adt.rs | |
parent | 1011e37f3a260b0565f88c84d3c49fac1ec7b879 (diff) | |
parent | 7b81c088f79a19289008f635d2e2e4105a750b96 (diff) |
Merge #1052
1052: Flip binary expression assist r=matklad a=marcogroppo
Adds an assist that can flip these binary comparison operators: `==`, `!=`, `>`, `>=`, `<`, `<=`.
This is a small extension to the 'flip ==' assist.
In theory we could easily flip ANY binary expression, but I'm not sure it would be a good idea (IMHO we should try not to change the meaning of the expression).
Does it make sense?
Co-authored-by: Marco Groppo <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/adt.rs')
0 files changed, 0 insertions, 0 deletions