Skip to main content

check_partition

Function check_partition 

Source
pub fn check_partition(
    all: &BTreeSet<String>,
    tiers: &[(&str, BTreeSet<String>)],
) -> Result<Vec<(String, usize)>, Vec<String>>
Expand description

Checks that tiers partition all. Returns each tier’s size, or every problem found.