diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-08-11 04:18:34 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-11 04:18:34 +0900 |
| commit | bdc92f10e73b2e22574d8c7627baebb5013efcbf (patch) | |
| tree | 9947d50b812befa63fdadc555cbdd17b83ed4745 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 43b7cad3e548b1794d3ea5ddcfbfa93c09cbe346 (diff) | |
| parent | ab2c5902ca404cb21fc9fa8bd6f5c52f33d92949 (diff) | |
| download | rust-bdc92f10e73b2e22574d8c7627baebb5013efcbf.tar.gz rust-bdc92f10e73b2e22574d8c7627baebb5013efcbf.zip | |
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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
