Skip to main content

mandatory_closure

Function mandatory_closure 

Source
pub fn mandatory_closure(
    pages: &[ContextPage],
    mandatory: &[String],
) -> Vec<ContextPage>
Expand description

Compute the mandatory dependency closure over pages starting from the mandatory ids, following depends_on transitively. Order: the input page order, restricted to closure members (deterministic).