macro_rules! debug_assert_some_eq {
($($arg:tt)*) => { ... };
}
Expand description
Asserts that the left expression contains a Some(T)
variant and its contained value of type
T
equals the right expression on debug builds.
This macro behaves nearly the same as assert_some_eq!
on debug builds, although it does not
return the value contained in the Some
variant. On release builds it is a no-op.