Skip to content

Commit 4b87655

Browse files
committed
Auto merge of #32101 - SimonSapin:patch-11, r=alexcrichton
Add info in `rustdoc --passes list` CC @mitaa, https://github.com/rust-lang/rust/pull/32055/files#r55205006
2 parents 6d6ae1f + d961323 commit 4b87655

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustdoc/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ const PASSES: &'static [Pass] = &[
108108
("collapse-docs", passes::collapse_docs,
109109
"concatenates all document attributes into one document attribute"),
110110
("strip-private", passes::strip_private,
111-
"strips all private items from a crate which cannot be seen externally"),
111+
"strips all private items from a crate which cannot be seen externally, \
112+
implies strip-priv-imports"),
112113
("strip-priv-imports", passes::strip_priv_imports,
113114
"strips all private import statements (`use`, `extern crate`) from a crate"),
114115
];

0 commit comments

Comments
 (0)