diff options
| author | kennytm <kennytm@gmail.com> | 2018-05-23 00:26:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-23 00:26:11 +0800 |
| commit | 42b4c49b450decbc68f5caabb8f12a2da0ccccc0 (patch) | |
| tree | 7d752d4c59f0ab8eccae569bb027cb9c296e2e55 /src/libsyntax/parse/parser.rs | |
| parent | e7e3261121c2a600da27d89906c8734d8a346852 (diff) | |
| parent | d8265621d8d90cc6a37e7322c34e1969db0a26bf (diff) | |
| download | rust-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/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
