Macro assure::assure_eq [−][src]
Assure two values are 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_eq!(1, 1); assure_eq!(1, 1, "message");