Skip to content

rustdoc: Self: Sized bounds in different crates are pruned #24183

@alexcrichton

Description

@alexcrichton
Member

For example Iterator::map should have a Self: Sized bound, but we're a little too aggressive about pruning out the Sized bounds.

For comparison core::iter::Iterator::map does indeed have the bound.

Activity

added
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
on Apr 8, 2015
apasel422

apasel422 commented on Oct 24, 2015

@apasel422
Contributor

This also applies to Sized bounds on traits.

crumblingstatue

crumblingstatue commented on Oct 22, 2016

@crumblingstatue
Contributor

This prompted a question on IRC about whether Clone requires Sized, because the Sized bound is not visible in the libstd documentation. It is visible in the libcore docs though.

added
T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.
and removed on May 18, 2017

27 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-cross-crate-reexportsArea: Documentation that has been re-exported from a different crateC-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

    Participants

    @steveklabnik@ehuss@alexcrichton@crumblingstatue@jonas-schievink

    Issue actions

      rustdoc: Self: Sized bounds in different crates are pruned · Issue #24183 · rust-lang/rust