Add info in `rustdoc --passes list`

CC @mitaa, https://github.com/rust-lang/rust/pull/32055/files#r55205006
This commit is contained in:
Simon Sapin 2016-03-07 16:40:23 +01:00
parent e079afa00b
commit d9613237fd
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@ const PASSES: &'static [Pass] = &[
("collapse-docs", passes::collapse_docs,
"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"),
"strips all private items from a crate which cannot be seen externally, \
implies strip-priv-imports"),
("strip-priv-imports", passes::strip_priv_imports,
"strips all private import statements (`use`, `extern crate`) from a crate"),
];