rustdoc: Collapse before unindenting
Doesn't make much sense to unindent each line individually and *then* collapse them all together.
This commit is contained in:
@@ -61,10 +61,10 @@ static PASSES: &'static [Pass] = &[
|
||||
];
|
||||
|
||||
static DEFAULT_PASSES: &'static [&'static str] = &[
|
||||
"unindent-comments",
|
||||
"collapse-docs",
|
||||
"strip-hidden",
|
||||
"strip-private",
|
||||
"collapse-docs",
|
||||
"unindent-comments",
|
||||
];
|
||||
|
||||
local_data_key!(pub ctxtkey: @core::DocContext)
|
||||
|
||||
Reference in New Issue
Block a user