Macro claim::debug_assert_matches
source · [−]macro_rules! debug_assert_matches {
($($arg:tt)*) => { ... };
}
Expand description
Asserts that expression matches any of the given variants.
Like assert_matches!
, this macro also has a second version,
where a custom panic message can be provided.
Uses
See debug_assert_matches!
documentation for possible use cases.
The same applies to this macro.