Skip to content

Commit

Permalink
Rollup merge of rust-lang#91610 - aDotInTheVoid:patch-2, r=GuillaumeG…
Browse files Browse the repository at this point in the history
…omez

Link to rustdoc_json_types docs instead of rustdoc-json RFC

The JSON format has had [many changes](https://github.com/rust-lang/rust/commits/master/src/rustdoc-json-types) since the RFC, so the rustdoc output is the only up to date reference

```@rustdoc``` modify labels: +A-rustdoc-json +A-docs
  • Loading branch information
matthiaskrgr committed Dec 8, 2021
2 parents 1be98af + 97952f4 commit d83d159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/rustdoc/src/unstable-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ Note that the third item is the crate root, which in this case is undocumented.
### `-w`/`--output-format`: output format

`--output-format json` emits documentation in the experimental
[JSON format](https://github.com/rust-lang/rfcs/pull/2963). `--output-format html` has no effect,
[JSON format](https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc_json_types/). `--output-format html` has no effect,
and is also accepted on stable toolchains.

It can also be used with `--show-coverage`. Take a look at its
Expand Down

0 comments on commit d83d159

Please sign in to comment.