Skip to content

Conversation

ollie27
Copy link
Contributor

@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
Contributor

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.

5 participants