[][src]Macro unwrap_return::unwrap_break

macro_rules! unwrap_break {
    ($e:expr) => { ... };
}

Unwraps in the Some case; breaks in the None case.

 unwrap_break!(expression)

is shorthand for

 match expression {
     Some(ret) => ret,
     None => break
 }