Skip to content

rustdoc: Extra margin in enum definition #60792

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

Closed
jethrogb opened this issue May 13, 2019 · 1 comment
Closed

rustdoc: Extra margin in enum definition #60792

jethrogb opened this issue May 13, 2019 · 1 comment
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@jethrogb
Copy link
Contributor

The enum definition at https://doc.rust-lang.org/nightly/nightly-rustc/rustc_errors/diagnostic/enum.DiagnosticId.html currently looks like:

pub enum DiagnosticId {
    Error(String),
    Lint(    String),
}

(note the extra space in Lint)

This seems to be the culprit (added in 825a11e):

.type-decl>pre>:nth-child(2) {
 margin-left:1.8em !important;
}

cc @GuillaumeGomez

@jonas-schievink jonas-schievink added C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels May 13, 2019
@GuillaumeGomez
Copy link
Member

Fixed by #60093. Duplicate of #60042. Closing it then. Thanks though!

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. 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