about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorYacin Tmimi <yacintmimi@gmail.com>2023-06-23 00:05:31 -0400
committerCaleb Cartwright <calebcartwright@users.noreply.github.com>2023-07-01 01:06:35 -0500
commit7b4e8a6d31a9b1ae404934a348f33cadf33ee764 (patch)
tree507e864f4d295151f238e798f34d3300589e14e8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentfe8b72d98e58e05420be9c1227ebdbe7a742dcf9 (diff)
downloadrust-7b4e8a6d31a9b1ae404934a348f33cadf33ee764.tar.gz
rust-7b4e8a6d31a9b1ae404934a348f33cadf33ee764.zip
update `else_block_exceeds_width` calculation in `let-else` rewrite
By reversing the logic I felt that the code became a clearer. Also,
added a comment to make it clear that we need to take the trailing
semicolon for the `let-else` statement into account.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions