return_if_ok 0.1.0

A macro that returns a `Result` as-is if it’s `Ok(_)`, or unwraps it if it’s `Err(_)`. This is the “opposite” of `try!`, in the same way that `Result::or_else` is the opposite of `Result::and_then`.
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 0 items with examples
  • Size
  • Source code size: 1.18 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.04 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • SimonSapin/rust-std-candidates
    88 12 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • SimonSapin