macro_rules! debug_assert_some {
($($arg:tt)*) => { ... };
}Expand description
Asserts that the expression matches a Some(_) variant on debug builds.
This macro behaves nearly the same as assert_some! on debug builds, although it does not
return the value contained in the Some variant. On release builds it is a no-op.