Skip to content

Find type of orphan methods for rustdoc search.#26293

Merged
bors merged 1 commit intorust-lang:masterfrom
mihneadb:rustdoc-search-orphan-methods
Jun 15, 2015
Merged

Find type of orphan methods for rustdoc search.#26293
bors merged 1 commit intorust-lang:masterfrom
mihneadb:rustdoc-search-orphan-methods

Conversation

@mihneadb
Copy link
Copy Markdown
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
Copy Markdown
Contributor

r? @alexcrichton

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

@alexcrichton
Copy link
Copy Markdown
Member

@bors: r+ 434684b

Thanks!

@bors
Copy link
Copy Markdown
Collaborator

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
Copy link
Copy Markdown
Collaborator

bors commented Jun 15, 2015

@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