diff options
| author | Yacin Tmimi <yacintmimi@gmail.com> | 2023-06-23 00:05:31 -0400 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2023-07-01 01:06:35 -0500 |
| commit | 7b4e8a6d31a9b1ae404934a348f33cadf33ee764 (patch) | |
| tree | 507e864f4d295151f238e798f34d3300589e14e8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | fe8b72d98e58e05420be9c1227ebdbe7a742dcf9 (diff) | |
| download | rust-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
