guard 0.5.2

Macro implementation of RFC 1303: a guard-let-else statement a la Swift
Documentation
1
2
3
4
5
6
7
8
extern crate guard;

use guard::guard_unwrap;

#[test]
fn should_be_usable_from_different_crate() {
    guard_unwrap!(let Some(_) = Some(()));
}