1
0
mirror of https://github.com/rust-unofficial/awesome-rust.git synced 2025-01-29 22:01:07 +02:00

Always write popularity if we get to the end of the block and haven't

failed
This commit is contained in:
Tom Parker-Shemilt 2021-08-21 14:37:22 +01:00
parent 1997dd882c
commit 2d88ee0a2a

View File

@ -571,6 +571,7 @@ async fn main() -> Result<(), Error> {
_ => {}
}
}
fs::write("results/popularity.yaml", serde_yaml::to_string(&popularity_data)?)?;
to_check.sort_by(|a,b| {
let get_time = |k| {