mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
Add rustdoc documentation about unstable feature "jump to def"
This commit is contained in:
parent
fd6b01f0e9
commit
3bfa2eb9f0
@ -567,3 +567,10 @@ $ rustdoc src/lib.rs -Z unstable-options \
|
||||
|
||||
The example above check every well known names (`target_os`, `doc`, `test`, ... via `names()`)
|
||||
and check the values of `feature`: `foo` and `bar`.
|
||||
|
||||
### `--generate-link-to-definition`: Generate links on types in source code
|
||||
|
||||
* Tracking issue: [#89095](https://github.com/rust-lang/rust/issues/89095)
|
||||
|
||||
This flag enables the generation of links in the source code pages which allow the reader
|
||||
to jump to a type definition.
|
||||
|
Loading…
Reference in New Issue
Block a user