diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-06-28 08:30:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-28 08:30:22 -0700 |
| commit | ec4898977a849fc73c8d3198e45c6f17c2bf177a (patch) | |
| tree | 8abe212f831aa30f49239dbb3f52349ee5d6244f /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 25687caa2e4e35b31c29e28998710670e9d54ee9 (diff) | |
| parent | 6f8ad3b20858c6c63c2098e690fddf0f33a80d2b (diff) | |
| download | rust-ec4898977a849fc73c8d3198e45c6f17c2bf177a.tar.gz rust-ec4898977a849fc73c8d3198e45c6f17c2bf177a.zip | |
Rollup merge of #73577 - VillSnow:master, r=Amanieu
Add partition_point Add partition_point in C++. Although existing binary_search in rust does not suitable when the slice has multiple hits, this function returns exact point of partition. The definition of this function is very clear and able to accept general matter, therefore you can easily get index which you want like lower/upper_bound. https://github.com/rust-lang/rfcs/issues/2184
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
