about summary refs log tree commit diff
path: root/src/test/rustdoc/toggle-trait-fn.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-30/+0
2022-12-12rustdoc: stop treating everything in a trait item as a methodMichael Howell-0/+7
This was added in 0b9b4b70683db6ef707755f520f139eb7b92a944 to fix the spacing on trait pages, but stopped being needed because 791f04e5a47ee78951552c7ed1545b2b01a44c74 stopped styling method-toggle. By only putting the method-toggle class on actual methods, the JS setting does the right thing.
2022-09-28rustdoc: add method spacing to trait methodsMichael Howell-6/+6
More cleanup for 8846c0853d8687fda0e5f23f6687b03b243980ee, this time in trait layouts when things are collapsed.
2021-07-25Rustdoc accessibility: use real headers for doc itemsbors-4/+4
Part of #87059 Partially reverts #84703 Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
2021-05-30Remove toggle for "undocumented items."Jacob Hoffman-Andrews-6/+18
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.
2021-05-26Update trait toggle testGuillaume Gomez-1/+5
2021-05-16Add test for trait toggle locationJacob Hoffman-Andrews-0/+7