Skip to content

Inlined trait docs don't include method argument names #14670

Closed
@tomjakubowski

Description

@tomjakubowski

This is somewhat jarring when the documentation references argument names. A motivating example is in the StrSlice docs:

fn slice(&self, uint, uint) -> &'a str
Returns a slice of the given string from the byte range [begin..end).

Related: #14346

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