Crate must [−] [src]
Examples
#[macro_use] extern crate must; use must::prelude::*; // Result and Option has methods for unwrapping. // Results returned from these methods are #[must_use] // and you can get the value by using .or(fail!()) let val = Some(5u8).must_be_some() // fail!() macro captures location. .or(fail!()); val.must_be(5);
Modules
error_renderer | |
marker |
Marker trait for types. |
matcher | |
prelude | |
result |
Macros
fail |
fail!() - Just capture source location. |