Skip to content

Default methods in trait documentation #23864

Closed
@jooert

Description

@jooert

When looking at the documentation of a certain trait (e.g. http://doc.rust-lang.org/std/iter/trait.Iterator.html), I can't tell which methods have to be implemented to use this trait or which ones have a default implementation (and don't have to be provided when implementing the trait). They are just in the same section "Required Methods" (which is kind of intimidating when trying to implement an Iterator 😉).

Metadata

Metadata

Assignees

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