-
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
rustdoc: Remove the brief of structs and traits #39952
Comments
Do you want it to show all available methods and implementations in the code block at the top? |
Yeah, scrolling and finding a method is a huge pain for large pages like |
@sinkuu didn't noticed that, it's looking quite good. I originally intended to have a similar outlook like the traits; they have methods listed in the block. I would change the topic to uniforming the two; thanks anyway. |
@rust-lang/docs any interest in this? |
I have to admit that I don't like the idea... Let's see what others think. |
Agreed. Just for the record: cc @Manishearth |
Traits and structs brief should be removed: its functionality can be achieved through pressing the
[-]
button.Things that are not expressed through the "methods/fields" doucment:
Original proposal (superseded)
Current:
Desired:
EDIT: as @sinkuu mentioned below, we have a way to display a well formatted brief by minimizing the descriptions.
We have another option, by removing the brief for traits and advertise the use of [-].
The text was updated successfully, but these errors were encountered: