-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Auto-hide trait implementation documentation" does nothing #85411
Comments
This is due to the refactoring we've been doing with the expand / collapse toggles, wrapping them in rust/src/librustdoc/html/static/main.js Lines 909 to 911 in 3e827cc
rust/src/librustdoc/html/static/main.js Lines 927 to 945 in 3e827cc
You can see there's an entry for handling "implementors" but not one for "implementations." Right now, both implementors and implementations get wrapped in a rust/src/librustdoc/html/render/mod.rs Lines 1542 to 1549 in 3e827cc
So that it generates |
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-medium |
I'm having trouble figuring out what fields to check in |
Well, I think I handled it in #85548 (funny that I was noticed it and fixed it on my side and someone else find it out too). |
beta and nightly ignore the default-on configuration of "Auto-hide trait implementation documentation"
On stable
std::future::Pending
looks like:While on beta it looks like:
And on nightly (as of 2021-05-17):
Going to https://doc.rust-lang.org/nightly/settings.html and toggling "Auto-hide trait implementation documentation" off makes stable look the same as beta, so it definitely seems like beta/nightly are just ignoring this toggle.
The text was updated successfully, but these errors were encountered: