debug_assert_matches

Macro debug_assert_matches 

Source
macro_rules! debug_assert_matches {
    ($value:expr, $pattern:pat $(, $($tail:tt)*)?) => { ... };
}
Expand description

测试用宏,用于简化调试模式断言