diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2018-02-09 01:47:18 -0800 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2018-02-09 01:47:18 -0800 |
| commit | 4f8049a2b00c46cb1ac77cabaaf716895f185afe (patch) | |
| tree | 9d04efd20feb079c5cc6e1a5182535109a8ca47c /src/rustllvm/RustWrapper.cpp | |
| parent | afa8acce251cda7ab1548640fdb769139a45f839 (diff) | |
| download | rust-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
