mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-02 10:55:13 +00:00
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:
commit
2ff1ad08ad
@ -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
|
as the `.rs` file. `--crate-name` lets you override this assumption with
|
||||||
whatever name you choose.
|
whatever name you choose.
|
||||||
|
|
||||||
## `-L`/`--library-path`:
|
## `-L`/`--library-path`: where to look for dependencies
|
||||||
|
|
||||||
Using this flag looks like this:
|
Using this flag looks like this:
|
||||||
|
|
||||||
@ -186,7 +186,7 @@ on documentation tests](documentation-tests.html).
|
|||||||
|
|
||||||
See also `--test-args`.
|
See also `--test-args`.
|
||||||
|
|
||||||
## `--test-args`:
|
## `--test-args`: pass options to test runner
|
||||||
|
|
||||||
Using this flag looks like this:
|
Using this flag looks like this:
|
||||||
|
|
||||||
@ -199,7 +199,7 @@ For more, see [the chapter on documentation tests](documentation-tests.html).
|
|||||||
|
|
||||||
See also `--test`.
|
See also `--test`.
|
||||||
|
|
||||||
## `--target`:
|
## `--target`: generate documentation for the specified target triple
|
||||||
|
|
||||||
Using this flag looks like this:
|
Using this flag looks like this:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user