this crate allows using yolo
instead of the unwrap
function for Option
``` extern crate yolo; use yolo::Yolo;
fn get_result(v : i32) -> Result fn main() {
asserteq!(Some(123).yolo(), 123);
asserteq!(get_result(123).yolo(), 123); println!("hello world!");
}
``` installation use make sure you DONT'T pin it to a version -> YOLO!. special thanks to matthiasendler who recognized how important this crate is
[dependencies]
yolo = "*"
special thanks