about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2018-02-09 01:47:18 -0800
committerScott McMurray <scottmcm@users.noreply.github.com>2018-02-09 01:47:18 -0800
commit4f8049a2b00c46cb1ac77cabaaf716895f185afe (patch)
tree9d04efd20feb079c5cc6e1a5182535109a8ca47c /src/rustllvm/RustWrapper.cpp
parentafa8acce251cda7ab1548640fdb769139a45f839 (diff)
downloadrust-4f8049a2b00c46cb1ac77cabaaf716895f185afe.tar.gz
rust-4f8049a2b00c46cb1ac77cabaaf716895f185afe.zip
Add Range[Inclusive]::is_empty
During the RFC, it was discussed that figuring out whether a range is empty was subtle, and thus there should be a clear and obvious way to do it.  It can't just be ExactSizeIterator::is_empty (also unstable) because not all ranges are ExactSize -- not even Range<i32> or RangeInclusive<usize>.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions