当前位置:网站首页>Rust: the output information of println is displayed during the unit test

Rust: the output information of println is displayed during the unit test

2022-04-23 18:04:00 Xu Yeping

Just use the following command :

cargo test -- --nocapture

I don't know why ,cargo Of help This usage cannot be queried in the command .

版权声明
本文为[Xu Yeping]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230544498154.html