opt_reduce 1.0.0

`reduce` function for `Option<_>`
Documentation
  • Coverage
  • 100%
    5 out of 5 items documented2 out of 3 items with examples
  • Size
  • Source code size: 5.91 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 600.78 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • WaffleLapkin/opt_reduce
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • WaffleLapkin

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:

  1. #84695
  2. #87036

opt_reduce = "1"

Compiler support: requires rustc 1.31+.