[][src]Macro mod_utilities::ok

macro_rules! ok {
    ($val: expr) => { ... };
    ($val: expr ; $ret: expr) => { ... };
}

Extract the value of a Result::Ok or return from the current context

Works similar to the try operator, but is usable in functions that return ()