diff options
| author | Josh Stone <jistone@redhat.com> | 2020-10-19 10:02:51 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2020-10-19 10:02:51 -0700 |
| commit | b62b352f4779072c07c110a63fd83afa9508b9e9 (patch) | |
| tree | 4a9c4181acb3ce6ee324bb9d4aa1aa0b21ee9c4c /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | cb2462c53f2cc3f140c0f1ea0976261cab968a34 (diff) | |
| download | rust-b62b352f4779072c07c110a63fd83afa9508b9e9.tar.gz rust-b62b352f4779072c07c110a63fd83afa9508b9e9.zip | |
Check for exhaustion in RangeInclusive::contains
When a range has finished iteration, `is_empty` returns true, so it should also be the case that `contains` returns false.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
