Macro assure::assure_gt [−][src]
Assure one value is greater than another value.
If true, then return Ok(true).
Otherwise, return Err(…).
This macro has a second form, where a custom message can be provided.
Examples
assure_gt!(2, 1); assure_gt!(2, 1, "message");