about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-06 03:40:42 +0000
committerbors <bors@rust-lang.org>2015-08-06 03:40:42 +0000
commit4278b5f03bbc5808a7b611ae8353db6817c58792 (patch)
treeba2cd9cd99eeef462ac794123ab21904614b7786 /src/libstd/sys/unix/stack_overflow.rs
parent4f33e43cbceb60ec85bb5140bd5470965ea92d16 (diff)
parent4fdeb353ceecd17fd7894bd7968d266a437d652e (diff)
downloadrust-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