Skip to content

Rustdoc should render the Fn traits with the sugary syntax #19909

Closed
@ftxqxd

Description

@ftxqxd

Rustdoc currently displays Fn, FnMut, and FnOnce like Fn<(Args,), Return>. That syntax is unsightly and will not be usable post-1.0, so it should probably render them as Fn(Args) -> Return instead.

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