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

rustdoc: Fix some local inlining issues #37773

Merged
merged 1 commit into from
Nov 16, 2016

Conversation

ollie27
Copy link
Member

@ollie27 ollie27 commented Nov 14, 2016

  • 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
Collaborator

r? @steveklabnik

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

@brson
Copy link
Contributor

brson commented Nov 15, 2016

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
Copy link
Contributor

bors commented Nov 15, 2016

📌 Commit 6fe7786 has been approved by brson

@bors
Copy link
Contributor

bors commented Nov 16, 2016

⌛ 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