Home
Head's Up: I'm in the middle of upgrading my site. Most things are in place, but there are something missing and/or broken including image alt text. Please bear with me while I'm getting things fixed.

Skip Doctests When Running cargo test

I don't use doctests when I'm working on small, one - off Rust apps. The default functionality of [TODO: Code shorthand span ] it so run them. The result is an empty report that shows up last. It's no big deal but it throws me off seeing [TODO: Code shorthand span ] in the report.

I use this in my [TODO: Code shorthand span ] file to turn off the tests and the subsequent report :

rust
[lib]
doctest = false

It's a nice little quality of live improvement.