]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #34513 - ollie27:rustdoc_stripped, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Wed, 29 Jun 2016 15:51:23 +0000 (21:21 +0530)
committerGitHub <noreply@github.com>
Wed, 29 Jun 2016 15:51:23 +0000 (21:21 +0530)
commitb393c7e0d245f800651e6744752951764acf1441
treef663c2c9e74ff64f01c5477161cc889be0a691ae
parent5bd3ef81c67673bde99e1b85ecc37fd551493070
parentbeebaf1366d84425cb52074a710d4bc560f3d2c3
Rollup merge of #34513 - ollie27:rustdoc_stripped, r=alexcrichton

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).