Skip to main content

sort_annotations

Function sort_annotations 

Source
pub fn sort_annotations(annotations: &mut [Annotation])
Expand description

Sort annotations most-severe-first, then by path, then by line. Default result ordering is path-sorted (ADR-004), so without this sort GitHub’s visible 10 per type would be the lexicographically first paths, not the worst findings.