Skip to content

Rustdoc should include default methods in trait implementation documentation #9985

Closed

Description

@sfackler

For example, there's no mention of insert in the TreeMap documentation since it's a default method on MutableMap: http://static.rust-lang.org/doc/master/extra/treemap/struct.TreeMap.html

Activity

  1. thestinger commented on Oct 21, 2013

    @thestinger
    Contributor
  2. sfackler commented on Oct 21, 2013

    @sfackler
    MemberAuthor

    Javadoc just has a list of "Methods inherited from foo" (e.g. http://docs.oracle.com/javase/7/docs/api/java/util/TreeMap.html) which seems fine.

  3. alexcrichton commented on Oct 21, 2013

    @alexcrichton
    Member

    I agree!

  4. added a commit that references this issue on Oct 21, 2013
    41f6e97
  5. added a commit that references this issue on Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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