Why clippy doesnt report anything after update/cargo check and how to solve it
Clippyis a nice tool to improve code quality on Rust projects but he has a little issue which is pretty annoying over time.
clippyrun and display errors to fix and you fix a single one or you run
cargo check, the next time
clippyrun he will display no errors anymore. Weird right?
Here’s a simple tricks to make it work again.…more
Cfg Test and Cargo Test a Missing Information
I’m currently working on a library and I want it battle tested. I don’t want to reach 100% code coverage but testing is part of the development workflow and moreover Rust natively provides testing and documentation facilities.
But, what’s the point about…more
Cargo How to Display Print in Test Command
Sometime you try to understand why an assertion failed. It can be many things and you need some visibility to understand what’s wrong with your code.
By default cargo test prevent every
$ cargo test -- --nocapture