diff options
| author | bors <bors@rust-lang.org> | 2015-08-06 03:40:42 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-08-06 03:40:42 +0000 |
| commit | 4278b5f03bbc5808a7b611ae8353db6817c58792 (patch) | |
| tree | ba2cd9cd99eeef462ac794123ab21904614b7786 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 4f33e43cbceb60ec85bb5140bd5470965ea92d16 (diff) | |
| parent | 4fdeb353ceecd17fd7894bd7968d266a437d652e (diff) | |
| download | rust-4278b5f03bbc5808a7b611ae8353db6817c58792.tar.gz rust-4278b5f03bbc5808a7b611ae8353db6817c58792.zip | |
Auto merge of #27545 - apasel422:btree-range, r=Gankro
This permits collections with `String` keys to be ranged over with
`&str` bounds. The `K` defaults for `Min` and `Max` permit the default
type parameter fallback to work with things like
```rust
use std::collections::{BTreeSet, Bound};
let set = BTreeSet::<String>::new();
set.range(Bound::Included("a"), Bound::Unbounded);
```
Without the defaults, the type of the maximum bound would be
unconstrained.
r? @Gankro
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
