aboutsummaryrefslogtreecommitdiff
path: root/crates/stdx/src/macros.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-12-23 10:36:57 +0000
committerAleksey Kladov <[email protected]>2020-12-23 10:51:30 +0000
commit2ec92b3dc3e3c51641e288fcba7ba13e7372cdd6 (patch)
treed0419d2d5d7fa5c36697074d309ba5ac14a58f76 /crates/stdx/src/macros.rs
parent3ced546033973a63cb2ef1644ca099740fdfb1c2 (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/stdx/src/macros.rs')
0 files changed, 0 insertions, 0 deletions