rust/library/core
Yuki Okushi bdc92f10e7
Rollup merge of #87636 - Kixiron:unzip-option, r=scottmcm
Added the `Option::unzip()` method

* Adds the `Option::unzip()` method to turn an `Option<(T, U)>` into `(Option<T>, Option<U>)` under the `unzip_option` feature
* Adds tests for both `Option::unzip()` and `Option::zip()`, I noticed that `.zip()` didn't have any
* Adds `#[inline]` to a few of `Option`'s methods that were missing it
2021-08-11 04:18:34 +09:00
..
benches Use HTTPS links where possible 2021-06-23 16:26:46 -04:00
src Rollup merge of #87636 - Kixiron:unzip-option, r=scottmcm 2021-08-11 04:18:34 +09:00
tests Rollup merge of #87636 - Kixiron:unzip-option, r=scottmcm 2021-08-11 04:18:34 +09:00
Cargo.toml rfc3052: Remove authors field from Cargo manifests 2021-07-29 14:56:05 -07:00