doc test
Also written: doc tests, documentation test
A code example inside a `///` comment, usually under `# Examples`, that `cargo test` compiles and runs to keep docs correct.
Also written: doc tests, documentation test
A code example inside a `///` comment, usually under `# Examples`, that `cargo test` compiles and runs to keep docs correct.