address review comment
https://github.com/rust-lang/rustc-dev-guide/pull/1394#discussion_r934018816
This commit is contained in:
parent
74b9b456c1
commit
ea2f1c2977
|
|
@ -72,6 +72,7 @@ fn collect_dates_from_file(date_regexes: &[Regex], text: &str) -> Vec<(usize, Da
|
||||||
.collect();
|
.collect();
|
||||||
output.extend(results);
|
output.extend(results);
|
||||||
}
|
}
|
||||||
|
output.sort_by(|a, b| a.0.cmp(&b.0));
|
||||||
output
|
output
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue