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

Bad output of variants in Rustdoc #44180

Closed
Keats opened this issue Aug 30, 2017 · 3 comments
Closed

Bad output of variants in Rustdoc #44180

Keats opened this issue Aug 30, 2017 · 3 comments
Labels
T-dev-tools Relevant to the dev-tools subteam, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@Keats
Copy link

Keats commented Aug 30, 2017

See https://docs.rs/pest/1.0.0-beta.7/pest/enum.Error.html for example and a screenshot below

2017-08-30-183517_758x350_scrot

This happens on both Chrome and Firefox. The alignment between the [-] and the text is also off but it could be due to other CSS issues as the [+] is correctly aligned.

@steveklabnik
Copy link
Member

Which version of rustdoc did you use to generate these docs?

@steveklabnik steveklabnik added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-dev-tools Relevant to the dev-tools subteam, which will review and decide on the PR/issue. labels Aug 30, 2017
@kennytm
Copy link
Member

kennytm commented Aug 30, 2017

This should be fixed in #43862...

@Keats
Copy link
Author

Keats commented Aug 30, 2017

Ah I only looked at the doc.rs output, I generated docs on nightly locally and it looks fine. On stable (1.19) the output is different but working as well.
Sorry for the noise!

@Keats Keats closed this as completed Aug 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-dev-tools Relevant to the dev-tools subteam, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants