Skip to content

Rustdoc renders associated constants poorly #44348

Closed
@sgrif

Description

@sgrif

We recently changed Diesel to use associated constants in a few places, and noticed that our docs look a lot worse as a result.

screen shot 2017-09-05 at 1 12 41 pm

It stands out far too much, and looks nothing like any other section of the docs related to traits. It'd be great if the definition could be inlined and look the same as it does for associated types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions