Skip to content

[rustdoc] invalid trait doc generation #33919

New issue

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

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

Already on GitHub? # to your account

Closed
GuillaumeGomez opened this issue May 28, 2016 · 2 comments
Closed

[rustdoc] invalid trait doc generation #33919

GuillaumeGomez opened this issue May 28, 2016 · 2 comments

Comments

@GuillaumeGomez
Copy link
Member

When rustdoc generates doc from trait implementation, it could replace generic ones with the one we have. Example with http://doc.rust-lang.org/nightly/std/cell/struct.RefCell.html :

fn eq(&self, other: &RefCell<T>) -> bool;

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool;

This method tests for !=.

eq()'s other argument is &RefCell, but that's not the case for ne(). It should be fixed.

cc @nox

@GuillaumeGomez
Copy link
Member Author

I'm working on it.

@alexcrichton
Copy link
Member

I believe this is a dupe of #14072, so I'm going to close this in favor of that.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants