fn find_missing_label(
    needed_labels: &[Label],
    map: &FlatMap<Label, LabeledTree<Digest>>,
) -> Option<Label> {
    for label in needed_labels {
        if map.get(label) == None {
            return Some(label.to_owned());
        }
    }
    None
}
// Checks whether any of `needed_labels` is missing in the given `map`.
// Returns a missing label, if any is indeed missing.
Checks whether any of `needed_labels` is missing in the given `map`.
Returns a missing label, if any is indeed missing.
Checks whether any of ` needed_labels ` is missing in the given ` map ` . Returns a missing label if any is indeed missing .
fn find_missing_label(
    needed_labels: &[Label],
    map: &FlatMap<Label, LabeledTree<Digest>>,
) -> Option<Label> {
    for label in needed_labels {
        if map.get(label) == None {
            return Some(label.to_owned());
        }
    }
    None
}
fn find_missing_label ( needed_labels : & [ Label ] , map : & FlatMap < Label , LabeledTree < Digest > > , ) -> Option < Label > { for label in needed_labels { if map . get ( label ) == None { return Some ( label . to_owned ( ) ) ; } } None }
Checks whether any of `needed_labels` is missing in the given `map`.
Checks whether any of ` needed_labels ` is missing in the given ` map ` .
needed_labels
&[Label]
map
&FlatMap<Label, LabeledTree<Digest>>
needed_labels
&[Label]
map
&FlatMap<Label, LabeledTree<Digest>>