Skip to content

Conversation

Sawyer47
Copy link
Contributor

@Sawyer47 Sawyer47 commented Sep 4, 2016

Old code filtered out only static methods. This code also excludes &mut self methods if there is no DerefMut implementation.

Fixes #35169

@rust-highfive
Copy link
Contributor

r? @steveklabnik

(rust_highfive has picked a reviewer for you, use r? to override)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also matches things like self: &Self, self: &Foo, self: &mut Self, self: &mut Foo, self: Self and self: Foo which we don't want to remove.

Old code filtered out only static methods. This code also excludes
&mut self methods if there is no DerefMut implementation
@GuillaumeGomez
Copy link
Member

👍

Waiting for @steveklabnik's confirmation.

@GuillaumeGomez
Copy link
Member

cc @alexcrichton

@steveklabnik
Copy link
Contributor

Seems like a good idea to me, I wonder what alex thinks.

@alexcrichton
Copy link
Member

@bors: r+ 915bbda

Thanks!

@bors
Copy link
Collaborator

bors commented Sep 7, 2016

⌛ Testing commit 915bbda with merge 9627e9e...

bors added a commit that referenced this pull request Sep 7, 2016
rustdoc: Filter more incorrect methods inherited through Deref

Old code filtered out only static methods. This code also excludes &mut self methods if there is no DerefMut implementation.

Fixes #35169
@bors bors merged commit 915bbda into rust-lang:master Sep 7, 2016
@bluss bluss added the relnotes Marks issues that should be documented in the release notes of the next release. label Sep 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relnotes Marks issues that should be documented in the release notes of the next release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants