Rollup merge of #45308 - dbrgn:headlines, r=steveklabnik

Rustdoc book: Add missing headlines

Some options were missing headlines, which looked a bit inconsistent.
This commit is contained in:
kennytm 2017-10-17 22:20:59 +08:00 committed by GitHub
commit 2ff1ad08ad

View File

@ -100,7 +100,7 @@ By default, `rustdoc` assumes that the name of your crate is the same name
as the `.rs` file. `--crate-name` lets you override this assumption with
whatever name you choose.
## `-L`/`--library-path`:
## `-L`/`--library-path`: where to look for dependencies
Using this flag looks like this:
@ -186,7 +186,7 @@ on documentation tests](documentation-tests.html).
See also `--test-args`.
## `--test-args`:
## `--test-args`: pass options to test runner
Using this flag looks like this:
@ -199,7 +199,7 @@ For more, see [the chapter on documentation tests](documentation-tests.html).
See also `--test`.
## `--target`:
## `--target`: generate documentation for the specified target triple
Using this flag looks like this: