Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default methods in trait documentation #23864

Closed
jooert opened this issue Mar 30, 2015 · 1 comment
Closed

Default methods in trait documentation #23864

jooert opened this issue Mar 30, 2015 · 1 comment
Assignees
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@jooert
Copy link
Contributor

jooert commented Mar 30, 2015

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 😉).

@steveklabnik steveklabnik added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Mar 30, 2015
@mbrubeck
Copy link
Contributor

mbrubeck commented Apr 4, 2015

This is a regression. In old docs, the methods were separated into "Required Methods" and "Provided Methods":

http://doc.rust-lang.org/0.12.0/std/iter/trait.Iterator.html

@alexcrichton alexcrichton self-assigned this Apr 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants