Skip to content

Weird generated documentation with const generics #60737

Closed
@DutchGhost

Description

@DutchGhost

When playing around with const generics, I found some weird generated docs:

http://prntscr.com/nn8fgg

How to reproduce:

git clone https://github.com/DutchGhost/vecset.git
cd vecset
cargo doc --open

and go to the documentation on the VecSet struct (inside the vecset module), and find the auto impls.

Metadata

Metadata

Labels

A-const-genericsArea: const generics (parameters and arguments)C-bugCategory: This is a bug.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