]> git.lizzy.rs Git - rust.git/commit
Include is_empty() in PartialEq and Hash.
authorkennytm <kennytm@gmail.com>
Sat, 30 Jun 2018 09:13:21 +0000 (17:13 +0800)
committerkennytm <kennytm@gmail.com>
Fri, 13 Jul 2018 01:53:37 +0000 (09:53 +0800)
commit6e0dd9ec0362af41996cf2d2a0afd520bf873d3a
tree44d9c77f23d4fc19f95de5016e81febb5330399e
parentb6ea93e46410cccf8d115e57283d1df5968dd0f2
Include is_empty() in PartialEq and Hash.

When the index is not PartialOrd, always treat the range as empty.
src/libcore/ops/range.rs