Skip to content

rustdoc: Fix some local inlining issues#37773

Merged
bors merged 1 commit into
rust-lang:masterfrom
ollie27:rustdoc_inline_glob
Nov 16, 2016
Merged

rustdoc: Fix some local inlining issues#37773
bors merged 1 commit into
rust-lang:masterfrom
ollie27:rustdoc_inline_glob

Conversation

@ollie27

@ollie27 ollie27 commented Nov 14, 2016

Copy link
Copy Markdown
Contributor
  • Only inline public items when inlining glob imports.
  • Never inline while in a private module or a child of a private module.
  • Never inline impls. This allowed the removal of a workaround in the
    rendering code.

* Only inline public items when inlining glob imports.
* Never inline while in a private module or a child of a private module.
* Never inline impls. This allowed the removal of a workaround in the
rendering code.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @steveklabnik

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

@brson

brson commented Nov 15, 2016

Copy link
Copy Markdown
Contributor

Thanks for fixing rustdoc issues!

@bors r+

Approving on the basis that you sound like you know what you are doing and wrote tests.

@bors

bors commented Nov 15, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit 6fe7786 has been approved by brson

@bors

bors commented Nov 16, 2016

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 6fe7786 with merge d88d064...

bors added a commit that referenced this pull request Nov 16, 2016
rustdoc: Fix some local inlining issues

* Only inline public items when inlining glob imports.
* Never inline while in a private module or a child of a private module.
* Never inline impls. This allowed the removal of a workaround in the
rendering code.
@bors bors merged commit 6fe7786 into rust-lang:master Nov 16, 2016
@ollie27 ollie27 deleted the rustdoc_inline_glob branch November 16, 2016 22:13
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