Skip to content

rustdoc: Improve impl disambiguation#39589

Merged
bors merged 1 commit into
rust-lang:masterfrom
ollie27:rustdoc_impl_disambiguation
Feb 9, 2017
Merged

rustdoc: Improve impl disambiguation#39589
bors merged 1 commit into
rust-lang:masterfrom
ollie27:rustdoc_impl_disambiguation

Conversation

@ollie27

@ollie27 ollie27 commented Feb 6, 2017

Copy link
Copy Markdown
Contributor
  • Don't disambiguate if there are multiple impls for the same type.
  • Disambiguate for impls of &Foo and &mut Foo.
  • Don't try to disambiguate generic types.

before after

* Don't disambiguate if there are multiple impls for the same type.
* Disambiguate for impls of &Foo and &mut Foo.
* Don't try to disambiguate generic types.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @steveklabnik

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

@steveklabnik

Copy link
Copy Markdown
Contributor

/cc @rust-lang/tools

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

Looks great to me, thanks!

@bors

bors commented Feb 8, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 05eef36 has been approved by alexcrichton

frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 8, 2017
…, r=alexcrichton

rustdoc: Improve impl disambiguation

* Don't disambiguate if there are multiple impls for the same type.
* Disambiguate for impls of &Foo and &mut Foo.
* Don't try to disambiguate generic types.

[before](https://doc.rust-lang.org/nightly/std/ops/trait.Rem.html#implementors) [after](https://ollie27.github.io/rust_doc_test/std/ops/trait.Rem.html#implementors)
bors added a commit that referenced this pull request Feb 8, 2017
Rollup of 6 pull requests

- Successful merges: #38165, #39456, #39587, #39589, #39598, #39641
- Failed merges: #39586, #39595
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 9, 2017
…, r=alexcrichton

rustdoc: Improve impl disambiguation

* Don't disambiguate if there are multiple impls for the same type.
* Disambiguate for impls of &Foo and &mut Foo.
* Don't try to disambiguate generic types.

[before](https://doc.rust-lang.org/nightly/std/ops/trait.Rem.html#implementors) [after](https://ollie27.github.io/rust_doc_test/std/ops/trait.Rem.html#implementors)
frewsxcv added a commit to frewsxcv/rust that referenced this pull request Feb 9, 2017
…, r=alexcrichton

rustdoc: Improve impl disambiguation

* Don't disambiguate if there are multiple impls for the same type.
* Disambiguate for impls of &Foo and &mut Foo.
* Don't try to disambiguate generic types.

[before](https://doc.rust-lang.org/nightly/std/ops/trait.Rem.html#implementors) [after](https://ollie27.github.io/rust_doc_test/std/ops/trait.Rem.html#implementors)
bors added a commit that referenced this pull request Feb 9, 2017
Rollup of 9 pull requests

- Successful merges: #37928, #38699, #39589, #39598, #39599, #39641, #39649, #39653, #39671
- Failed merges:
@bors bors merged commit 05eef36 into rust-lang:master Feb 9, 2017
@ollie27 ollie27 deleted the rustdoc_impl_disambiguation branch February 12, 2017 16:25
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.

5 participants