pub fn summarize_prs<'b, I: IntoIterator<Item = &'b Pr>>(prs: I) -> PrStats {
    let mut stats = PrStats::default();
    for pr in prs {
        stats.count += 1;
        if pr.status == Status::Approved && pr.mergeable != MergeableState::Conflicting {
            stats.approved += 1;
            if pr.priority == -1 {
                stats.rollups += 1;
            }
        }
    }
    stats
}
/// Reads in an iterator of PR references, and produces statistics about them.
Reads in an iterator of PR references, and produces statistics about them.
Reads in an iterator of PR references and produces statistics about them .
pub fn summarize_prs<'b, I: IntoIterator<Item = &'b Pr>>(prs: I) -> PrStats {
    let mut stats = PrStats::default();
    for pr in prs {
        stats.count += 1;
        if pr.status == Status::Approved && pr.mergeable != MergeableState::Conflicting {
            stats.approved += 1;
            if pr.priority == -1 {
                stats.rollups += 1;
            }
        }
    }
    stats
}
pub fn summarize_prs < ' b , I : IntoIterator < Item = & ' b Pr > > ( prs : I ) -> PrStats { let mut stats = PrStats :: default ( ) ; for pr in prs { stats . count += 1 ; if pr . status == Status :: Approved && pr . mergeable != MergeableState :: Conflicting { stats . approved += 1 ; if pr . priority == - 1 { stats . rollups += 1 ; } } } stats }
Reads in an iterator of PR references, and produces statistics about them.
Reads in an iterator of PR references and produces statistics about them .
prs
I
prs
I