Expand description
Contains information about “passes”, used to modify crate information during the documentation process.
Modules§
- calculate_
doc_ 🔒coverage - Calculates information used for the –show-coverage flag.
- check_
doc_ 🔒test_ visibility - Looks for items missing (or incorrectly having) doctests.
- collect_
intra_ 🔒doc_ links - This module implements RFC 1946: Intra-rustdoc-links
- collect_
trait_ 🔒impls - Collects trait impls for each item in the crate. For example, if a crate defines a struct that implements a trait, this pass will note that the struct implements that trait.
- lint 🔒
- Runs several rustdoc lints, consolidating them into a single pass for efficiency and simplicity.
- propagate_
doc_ 🔒cfg - Propagates
#[doc(cfg(...))]
to child items. - propagate_
stability 🔒 - Propagates stability to child items.
- strip_
aliased_ 🔒non_ local - strip_
hidden 🔒 - Strip all doc(hidden) items from the output.
- strip_
priv_ 🔒imports - Strips all private import statements (use, extern crate) from a crate.
- strip_
private 🔒 - Strip all private items from the output. Additionally implies strip_priv_imports. Basically, the goal is to remove items that are not relevant for public documentation.
- stripper 🔒
- A collection of utility functions for the
strip_*
passes.
Structs§
- Conditional
Pass 🔒 - In a list of passes, a pass that may or may not need to be run depending on options.
- Pass 🔒
- A single pass over the cleaned documentation.
Enums§
- Condition 🔒
- How to decide whether to run a conditional pass.
Constants§
- COVERAGE_
PASSES 🔒 - The list of default passes run when
--doc-coverage
is passed to rustdoc. - DEFAULT_
PASSES 🔒 - The list of passes run by default.
- PASSES 🔒
- The full list of passes.
Functions§
- defaults 🔒
- Returns the given default set of passes.