imply_option 0.1.1

An implementation of [this RFC](https://github.com/rust-lang/rfcs/pull/2180). Provides a single `trait` which allows the construction of an `Option` based on a bool value. ``` extern crate imply_option; use imply_option::*; fn main() { let pass = true; assert_eq!(pass.then(1), Some(1)); assert_eq!(pass.then_do(|| 1), Some(1)); let fail = false; assert_eq!(fail.then(1), None); } ```
Documentation
Builds

imply_option's sandbox limits

All the builds on docs.rs are executed inside a sandbox with limited resources. The limits for this crate are the following:

Available RAM 6 GB
Maximum rustdoc execution time 15 minutes
Maximum size of a build log 100 kB
Network access blocked
Maximum number of build targets 10

If a build fails because it hit one of those limits please open an issue to get them increased.