Docs.rs
return_if_ok-0.1.0
Platform
i686-apple-darwin
i686-pc-windows-gnu
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-gnu
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
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`.
Crate
Source
Builds
Feature flags
Documentation
Links
SimonSapin/rust-std-candidates
88
12
2
Crates.io
Dependencies
Versions
0.1.0
Owners