-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
rustdoc: hide inherent impls with private impl items #137596
Copy link
Copy link
Open
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
cc #137576. Rustdoc currently shows inherent impl items even if all impl items are private. This affects
BTreeMap:rust/library/alloc/src/collections/btree/map.rs
Lines 292 to 315 in ad27045
I feel like the proper fix for this issue is for rustdoc to not show internal inherent impls even if the impl has a doc comment.