Rust 1.42 You can use std::matches: assert! ... since assert! just panics in case of failure, the test can use pattern matching and call panic! directly in ...
確定! 回上一頁