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

Find type of orphan methods for rustdoc search. #26293

Merged
merged 1 commit into from
Jun 15, 2015

Conversation

mihneadb
Copy link
Contributor

In #23289, I did not include the type information for searching for orphan methods (methods that are defined in a module and implemented in another - doing this causes rustdoc sometimes to first find the impl before the actual type).

This PR fixes this. By merging this, searches for char -> bool will also find is_alphabetic, for example (which otherwise was only found for charext -> bool).

cc @alexcrichton

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

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

@alexcrichton
Copy link
Member

@bors: r+ 434684b

Thanks!

@bors
Copy link
Contributor

bors commented Jun 15, 2015

⌛ Testing commit 434684b with merge a53a098...

bors added a commit that referenced this pull request Jun 15, 2015
…crichton

In #23289, I did not include the type information for searching for orphan methods (methods that are defined in a module and implemented in another - doing this causes rustdoc sometimes to first find the impl before the actual type).

This PR fixes this. By merging this, searches for `char -> bool` will also find `is_alphabetic`, for example (which otherwise was only found for `charext -> bool`).


cc @alexcrichton
@bors bors merged commit 434684b into rust-lang:master Jun 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants