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 a few stripping issues #34513

Merged
merged 1 commit into from
Jun 30, 2016
Merged

Conversation

ollie27
Copy link
Member

@ollie27 ollie27 commented Jun 27, 2016

We need to recurse into stripped modules to strip things like impl methods
but when doing so we must not add any items to the retained set.

For example this removes core::num::ParseFloatError::__description and impl Clone for ThreadRng.

We need to recurse into stripped modules to strip things like impl methods
but when doing so we must not add any items to the `retained` set.
@rust-highfive
Copy link
Collaborator

r? @steveklabnik

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

@alexcrichton
Copy link
Member

@bors: r+ beebaf1

Thanks!

Manishearth added a commit to Manishearth/rust that referenced this pull request Jun 29, 2016
…chton

rustdoc: Fix a few stripping issues

We need to recurse into stripped modules to strip things like impl methods
but when doing so we must not add any items to the `retained` set.

For example this removes [`core::num::ParseFloatError::__description`](https://doc.rust-lang.org/nightly/core/num/struct.ParseFloatError.html#method.__description) and [`impl Clone for ThreadRng`](https://doc.rust-lang.org/nightly/std/clone/trait.Clone.html).
bors added a commit that referenced this pull request Jun 30, 2016
Rollup of 11 pull requests

- Successful merges: #34355, #34446, #34459, #34460, #34467, #34495, #34497, #34499, #34513, #34536, #34542
- Failed merges:
@bors bors merged commit beebaf1 into rust-lang:master Jun 30, 2016
@ollie27 ollie27 deleted the rustdoc_stripped branch June 30, 2016 11:44
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.

None yet

5 participants