Macro assure::assure_ne [−][src]
Assure two values are not equal.
If true, then return Ok(true).
Otherwise, return Err(…).
This macro has a second form, where a custom message can be provided.
Examples
assure_ne!(1, 2); assure_ne!(1, 2, "message");