| Crates.io | opt_reduce |
| lib.rs | opt_reduce |
| version | 1.0.0 |
| created_at | 2021-07-17 11:31:09.871918+00 |
| updated_at | 2021-07-17 11:31:09.871918+00 |
| description | `reduce` function for `Option<_>` |
| homepage | https://github.com/WaffleLapkin/opt_reduce/ |
| repository | https://github.com/WaffleLapkin/opt_reduce/ |
| max_upload_size | |
| id | 424031 |
| size | 6,286 |
This crate provides a reduce function for Option<_> that allows to
merge two options together.
This method was previously proposed for addition to std two times but both
PRs were closed:
opt_reduce = "1"
Compiler support: requires rustc 1.31+.