diff options
| author | kennytm <kennytm@gmail.com> | 2018-01-05 17:22:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-05 17:22:10 +0800 |
| commit | ff2f328d7efd78fc3837d2ad9a1080ff8e258d1b (patch) | |
| tree | 5516bc47a29e596968c23139fdf17203d1cf1fe8 /src/rustllvm/RustWrapper.cpp | |
| parent | a5dd5fe0071fc784ca6706816bea436858cbc521 (diff) | |
| parent | 6076cf6f4e4e60b4fb43c665a56a0508c88fca6f (diff) | |
| download | rust-ff2f328d7efd78fc3837d2ad9a1080ff8e258d1b.tar.gz rust-ff2f328d7efd78fc3837d2ad9a1080ff8e258d1b.zip | |
Rollup merge of #47162 - stjepang:cleanup-btreeset, r=alexcrichton
Remove `T: Ord` bound from `BTreeSet::{is_empty, len}`
This change makes the API for `BTreeSet` more consistent with `BTreeMap`, where `BTreeMap::{is_empty, len}` don't require `T: Ord` either.
Also, it reduces the number of `impl`s for `BTreeSet`, making the generated documentation look much cleaner. Closes #47138.
cc @rust-lang/libs
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
