Unnamed repository; edit this file 'description' to name the repository.
Rollup merge of #151231 - clarify-check-expr-unop, r=davidtwco
HIR typeck cleanup: clarify and re-style `check_expr_unop` Two small cleanups: - The `oprnd_t` variable was previously used both for the type of unary operators' operands and for the type of the operator expression as a whole. I found this confusing, so I've changed it to only be used for the operand type. This also allowed for removing some negations from `if` conditions. - I did a bit of re-styling in the second commit to remove some indentation levels, which also means fewer things have to be spread across multiple lines. This part is more to-taste; I'd be fine dropping it if it doesn't actually help.
Jonathan Brouwer 3 months ago
parent 01122fe · parent a29bade · commit f0003bf
0 files changed, 0 insertions, 0 deletions