Skip to content
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: implementations are starting contracted #84798

Closed
AaronKutch opened this issue May 1, 2021 · 1 comment
Closed

rustdoc: implementations are starting contracted #84798

AaronKutch opened this issue May 1, 2021 · 1 comment
Labels
C-bug Category: This is a bug.

Comments

@AaronKutch
Copy link
Contributor

I updated Rust nightly to rustc 1.53.0-nightly (42816d61e 2021-04-24) after a long break and found that some recent change to rustdoc is making all my documentation start contracted. I have this complicated crate with several impl blocks spread across several files, and previously the documentation would look like this:
image

but now looks like this:
image

If I want to quickly scan through all the sections, I have to click every single section and expand them every time I open up that documentation page. I think I could see a reason for changing the non-trait impls to also start contracted as default, but now there are no bold titles delimiting the different sections (Miscellanious, Multiplication, Division, etc). I think there needs to be some kind of attribute to make impls expanded by default and/or some way to hoist the impl titles on the different impls.

@AaronKutch AaronKutch added the C-bug Category: This is a bug. label May 1, 2021
@jyn514
Copy link
Member

jyn514 commented May 2, 2021

Fixed by #84552

@jyn514 jyn514 closed this as completed May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants