Structs

Collector 🔒

Options that apply to all doctests in a crate or Markdown file (for rustdoc foo.md).

Enums

DirState 🔒

Documentation test failure modes.

Traits

Tester 🔒

Functions

make_test 🔒

Transforms a test into code that can be compiled into a Rust binary, and returns the number of lines before the test code begins as well as if the output stream supports colors or not.

run 🔒
run_test 🔒
run_tests 🔒