We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcfb973 commit ade2924Copy full SHA for ade2924
ci/date-check/src/main.rs
@@ -72,7 +72,7 @@ fn collect_dates_from_file(date_regexes: &[Regex], text: &str) -> Vec<(usize, Da
72
.collect();
73
output.extend(results);
74
}
75
- output.sort_by(|a, b| a.0.cmp(&b.0));
+ output.sort_by_key(|a| a.0);
76
output
77
78
0 commit comments