about summary refs log tree commit diff
path: root/compiler/rustc_macros/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-06-01 11:29:43 +0200
committerGitHub <noreply@github.com>2021-06-01 11:29:43 +0200
commit085691b137cd255b32c66a3aa843783fa7ead726 (patch)
tree37504781666f0002d416defa4edd5e6c7489fa1f /compiler/rustc_macros/src
parent2ffe87a434c22616a071ffdd6e3ddc7c8735425e (diff)
parent10bafe1975e53769180701508e2b8cd3a3b34a0e (diff)
downloadrust-085691b137cd255b32c66a3aa843783fa7ead726.tar.gz
rust-085691b137cd255b32c66a3aa843783fa7ead726.zip
Rollup merge of #85622 - jsha:untoggle-undocumented, r=GuillaumeGomez
Remove toggle for "undocumented items."

Per discussion in #84326. For trait implementations, this was
misleading: the items actually do have documentation (but it comes from
the trait definition).

For both trait implementations and trait implementors, this was
redundant: in both of those cases, the items are default-hidden by
different toggle at the level above.

Update tests: Remove XPath selectors that over-specified on details tag,
in cases that weren't testing toggles. Add an explicit test for toggles
on methods. Rename item-hide-threshold to toggle-item-contents for
consistency.

Demo:
https://hoffman-andrews.com/rust/untoggle-undocumented/std/string/struct.String.html
https://hoffman-andrews.com/rust/untoggle-undocumented/std/io/trait.Read.html
Diffstat (limited to 'compiler/rustc_macros/src')
0 files changed, 0 insertions, 0 deletions