Skip to content

Rustdoc not rendering some trait impls for BTreeSet and HashSet #20175

Closed
@csouth3

Description

@csouth3

I noticed today that the rustdoc pages for BTreeSet and HashSet are both missing the sets' impls of BitOr, BitAnd, BitXor, and Sub. The page for (for example) BitOr itself lists HashSet and BTreeSet as implementors (http://doc.rust-lang.org/std/ops/trait.BitOr.html, though HashSet is listed twice, I don't know what's up there either), so rustdoc is aware of the implementations, but clicking through to either set's page (e.g. http://doc.rust-lang.org/std/collections/struct.HashSet.html), the trait impls aren't there.

I know for sure the impls for BTreeSet were rendered before #19448, so the fact that the impls changed from e.g. for BTreeSet<T> to for &'a BTreeSet<T> may be confusing rustdoc or something, but take that with a grain of salt, it's just a guess.

Metadata

Metadata

Assignees

Labels

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