Split out rustdoc pass to strip private imports
This commit is contained in:
parent
f6e125f04a
commit
688e52201e
5 changed files with 51 additions and 8 deletions
|
@ -107,6 +107,8 @@ const PASSES: &'static [Pass] = &[
|
|||
"concatenates all document attributes into one document attribute"),
|
||||
("strip-private", passes::strip_private,
|
||||
"strips all private items from a crate which cannot be seen externally"),
|
||||
("strip-priv-imports", passes::strip_priv_imports,
|
||||
"strips all private import statements (`use`, `extern crate`) from a crate"),
|
||||
];
|
||||
|
||||
const DEFAULT_PASSES: &'static [&'static str] = &[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue