rust/crates/ide_assists
Aleksey Kladov beca92b245 internal: make invert binary op more robust
Previously, we only inverted comparison operators (< and the like) if
the type implemented Ord. This doesn't make sense: if `<` works, then
`>=` will work as well!

Extra semantic checks greatly reduce robustness and predictability of
the assist, it's better to keep things simple.
2021-08-14 16:40:00 +03:00
..
src internal: make invert binary op more robust 2021-08-14 16:40:00 +03:00
Cargo.toml Use more strictly typed syntax nodes for analysis in extract_function assist 2021-07-29 17:26:37 +02:00