We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7fa081 commit bcb8657Copy full SHA for bcb8657
src/librustdoc/passes.rs
@@ -173,7 +173,6 @@ pub fn collapse_docs(crate: clean::Crate) -> plugins::PluginResult {
173
(crate, None)
174
}
175
176
-// n.b. this is copied from src/librustdoc/unindent_pass.rs
177
pub fn unindent(s: &str) -> ~str {
178
let lines = s.any_line_iter().collect::<~[&str]>();
179
let mut saw_first_line = false;
src/librustdoc/rustdoc.rs
@@ -61,10 +61,10 @@ static PASSES: &'static [Pass] = &[
61
];
62
63
static DEFAULT_PASSES: &'static [&'static str] = &[
64
- "unindent-comments",
65
- "collapse-docs",
66
"strip-hidden",
67
"strip-private",
+ "collapse-docs",
+ "unindent-comments",
68
69
70
local_data_key!(pub ctxtkey: @core::DocContext)
0 commit comments