rust/src/liballoc/tests
Mazdak Farrokhzad c8eefdffe9
Rollup merge of #64747 - ethanboxx:master, r=Centril
Stabilize `Option::flatten`

- PR: https://github.com/rust-lang/rust/pull/60256
- Tracking issue: https://github.com/rust-lang/rust/issues/60258

@elahn

> I was trying to `flat_map()` and found `map().flatten()` does the trick. This has been on nightly for 4 months, can we stabilise it?

@ethanboxx

> @Centril Helped me get this merged. What is the stabilization process?

@Centril

> @ethanboxx I'd just file a PR to stabilize it and we'll ask T-libs to FCP.

So here I am.

I am was unsure what number to put in `since = "-"` so I copied what someone had done in a recent PR.
2019-10-28 04:53:05 +01:00
..
btree BTreeSet symmetric_difference & union optimized, cleaned 2019-10-18 00:11:32 +02:00
arc.rs shared_from_iter: Polish internal docs. 2019-06-21 23:01:48 +02:00
binary_heap.rs Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
boxed.rs Uninitialized boxes: add test for zero-size allocations 2019-10-18 23:57:22 +02:00
cow_str.rs Deny rust_2018_idioms in liballoc tests 2019-04-20 16:05:25 +02:00
fmt.rs Remove licenses 2018-12-25 21:08:33 -07:00
heap.rs test more possible overaligned requests 2019-07-02 13:07:51 +02:00
lib.rs Stabilize Option::flatten 2019-10-19 11:04:53 +01:00
linked_list.rs Remove some more cfg(test)s 2019-08-02 02:40:01 +03:00
rc.rs shared_from_iter: Add more tests. 2019-06-21 03:52:38 +02:00
slice.rs test sort_unstable in Miri 2019-04-17 09:47:36 +02:00
str.rs Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
string.rs Add the Layout of the failed allocation to TryReserveError::AllocError 2019-08-16 18:08:37 +02:00
vec.rs Upgrade Emscripten targets to use upstream LLVM backend 2019-10-16 17:06:48 -07:00
vec_deque.rs Add the Layout of the failed allocation to TryReserveError::AllocError 2019-08-16 18:08:37 +02:00