-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Remove methods under Implementors on trait pages #85970
Commits on Jun 17, 2021
-
Remove methods under Implementors on trait pages
These were hidden by default, and duplicated information already on the page anyhow. Also remove the "Auto-hide trait implementors of a trait" setting, which is not needed anymore.
Configuration menu - View commit details
-
Copy full SHA for ce64729 - Browse repository at this point
Copy the full SHA ce64729View commit details -
Configuration menu - View commit details
-
Copy full SHA for bff4f07 - Browse repository at this point
Copy the full SHA bff4f07View commit details -
Add doc(hidden) to all __iterator_get_unchecked
This method on the Iterator trait is doc(hidden), and about half of implementations were doc(hidden). This adds the attribute to the remaining implementations.
Configuration menu - View commit details
-
Copy full SHA for 910c7fa - Browse repository at this point
Copy the full SHA 910c7faView commit details -
Make portability part of the summary.
That means it will be visible under "Implementors" on trait pages, and under "Implementations" on struct/enum pages, even when all methods are collapsed. Switch to a float layout for rightside elements.
Configuration menu - View commit details
-
Copy full SHA for 593d6d1 - Browse repository at this point
Copy the full SHA 593d6d1View commit details -
This covers rendering of stability_since and the srclink across methods and trait implementations, so their DOM representation is consistent.
Configuration menu - View commit details
-
Copy full SHA for 5de1391 - Browse repository at this point
Copy the full SHA 5de1391View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4fa6d5 - Browse repository at this point
Copy the full SHA c4fa6d5View commit details -
Fix target highlighting in rustdoc.
Also factor out outer_version and const_outer_version into render_rightside.
Configuration menu - View commit details
-
Copy full SHA for 2ac5c17 - Browse repository at this point
Copy the full SHA 2ac5c17View commit details -
Restore details for Impls on Foreign Types
These were previously removed along with the details in the "Implementors" section of trait pages. But for "Implementations on Foreign Types," we need to include the details because they will not be documented anywhere else.
Configuration menu - View commit details
-
Copy full SHA for bf81e13 - Browse repository at this point
Copy the full SHA bf81e13View commit details