diff options
author | Aleksey Kladov <[email protected]> | 2020-12-23 10:36:57 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-23 10:51:30 +0000 |
commit | 2ec92b3dc3e3c51641e288fcba7ba13e7372cdd6 (patch) | |
tree | d0419d2d5d7fa5c36697074d309ba5ac14a58f76 /crates/ide_db/src/line_index | |
parent | 3ced546033973a63cb2ef1644ca099740fdfb1c2 (diff) |
Make code more direct
* Push control flow outwards, as per
https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/style.md#preconditions
* Don't re-do the work, pass-in the arguments
Diffstat (limited to 'crates/ide_db/src/line_index')
0 files changed, 0 insertions, 0 deletions