about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-05-23 00:26:11 +0800
committerGitHub <noreply@github.com>2018-05-23 00:26:11 +0800
commit42b4c49b450decbc68f5caabb8f12a2da0ccccc0 (patch)
tree7d752d4c59f0ab8eccae569bb027cb9c296e2e55 /src/libsyntax
parente7e3261121c2a600da27d89906c8734d8a346852 (diff)
parentd8265621d8d90cc6a37e7322c34e1969db0a26bf (diff)
downloadrust-42b4c49b450decbc68f5caabb8f12a2da0ccccc0.tar.gz
rust-42b4c49b450decbc68f5caabb8f12a2da0ccccc0.zip
Rollup merge of #50875 - QuietMisdreavus:short-features, r=GuillaumeGomez
rustdoc: use "short form" doc(cfg) printing even when combined with other conditionals

Fixes https://github.com/rust-lang/rust/issues/49334

The original "short form" printing was introduced when `target_feature` was added to the `doc(cfg)` handling. However, it didn't properly propagate the "short form" indicator if the cfg was a combination of multiple conditionals, so the linked issue happened. This changes the handling to use a bool in the original `Html` wrapper, rather than a separate wrapper struct that defers to the original one.
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions