1
Fork 0

Remove collapsed field

`render/context` always runs after `run_global_context`, so it was always set to `true`.

This is a holdover from when rustdoc allowed configuring passes, but the `collapse-docs` pass was
removed ages ago, and the ability to configure passes is about to be removed.
This commit is contained in:
Joshua Nelson 2021-12-18 10:44:58 -06:00
parent d3f300477b
commit dea1c68614
5 changed files with 4 additions and 17 deletions

View file

@ -72,7 +72,7 @@ crate fn krate(cx: &mut DocContext<'_>) -> Crate {
}));
}
Crate { module, primitives, external_traits: cx.external_traits.clone(), collapsed: false }
Crate { module, primitives, external_traits: cx.external_traits.clone() }
}
fn external_generic_args(