The Rustdoc Book
What is rustdoc?
How to write documentation
Command-line arguments
The
#[doc]
attribute
Documentation tests
Lints
Passes
Advanced Features
Unstable features