The following options are shown in rustdoc --help but not in man rustdoc:
--version print rustdoc's version
--cfg pass a --cfg to rustc
--test run code examples as tests
--test-args ARGS arguments to pass to the test runner
--markdown-css FILES
CSS files to include via <link> in a rendered Markdown
file
--markdown-in-header FILES
files to include inline in the <head> section of a
rendered Markdown file
--markdown-before-content FILES
files to include inline between <body> and the content
of a rendered Markdown file
--markdown-after-content FILES
files to include inline between the content and
</body> of a rendered Markdown file
Indeed, the man page doesn't in any way mention the ability to test documentation or modify the output (except for choosing between HTML and JSON).
The following options are shown in
rustdoc --helpbut not inman rustdoc:Indeed, the man page doesn't in any way mention the ability to test documentation or modify the output (except for choosing between HTML and JSON).