about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-19 10:52:13 -0700
committerMichael Howell <michael@notriddle.com>2022-09-19 10:52:51 -0700
commit9457380ac902db3febf92077c5b645db55998ad4 (patch)
treeadf88dfa65406146207e7ef72d204e3d8d8f8458 /src/test/rustdoc-ui/coverage/enum-tuple.rs
parenta37499ae66ec5fc52a93d71493b78fb141c32f6b (diff)
downloadrust-9457380ac902db3febf92077c5b645db55998ad4.tar.gz
rust-9457380ac902db3febf92077c5b645db55998ad4.zip
rustdoc: remove `docblock` class from `item-decl`
This class was originally added in 73b97c7e7c9cfac4dfa4804654b1db6ab687b589
to support hiding and showing the item, because `main.js` went through all
`docblock` elements in the DOM and added toggles to them.

https://github.com/rust-lang/rust/blob/73b97c7e7c9cfac4dfa4804654b1db6ab687b589/src/librustdoc/html/static/main.js#L1856-L1867

The `item-decl` is no longer auto-hidden since
c96f86de3026f864e78397aff9097e885f2f8fdf removed it.

`item-decl` used to be called `type-decl`: that name was changed in
8b7a2dd4626acf164e1ce8397878b3f5af83d585.

The `docblock` class is no longer used for implementing toggles, since
rustdoc switched to using `<details>` elements.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions