提交 2ff1ad08 编写于 作者: K kennytm 提交者: GitHub

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

Rustdoc book: Add missing headlines

Some options were missing headlines, which looked a bit inconsistent.
......@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册