about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2020-10-19 10:02:51 -0700
committerJosh Stone <jistone@redhat.com>2020-10-19 10:02:51 -0700
commitb62b352f4779072c07c110a63fd83afa9508b9e9 (patch)
tree4a9c4181acb3ce6ee324bb9d4aa1aa0b21ee9c4c /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentcb2462c53f2cc3f140c0f1ea0976261cab968a34 (diff)
downloadrust-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