Skip to content

where clause trait bounds not included in trait implementors section #20534

Closed
@niax

Description

@niax

std::borrow::ToOwned's doc page lists impl<T> ToOwned<T> for T as an implementor which is not accurate. Only through reading the source does it becomes apparent that it should read impl<T> ToOwned<T> for T where T: Clone.

Metadata

Metadata

Assignees

No one assigned

    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