Documentation Testing
-
The primary way of documenting a Rust project is through annotating the source code
-
Documentation comments are written in markdown and support code blocks in them
-
Rust takes care about correctness, so these code blocks are compiled and used as tests