You have to create a module named tests and annotate with [cfg(test)]. This annotation instructs Rust compiler to run the test-cases when cargo ...
確定! 回上一頁