Clippy satisfied
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
use std::{collections::HashMap, fmt::format};
|
use std::collections::HashMap;
|
||||||
|
|
||||||
use chrono::{DateTime, Datelike, Utc};
|
use chrono::{DateTime, Datelike, Utc};
|
||||||
use gloo_net::http::Request;
|
use gloo_net::http::Request;
|
||||||
@@ -76,7 +76,7 @@ fn day_counts(partials: &[TicketPartial]) -> [usize; 7] {
|
|||||||
chrono::Weekday::Sun => 6,
|
chrono::Weekday::Sun => 6,
|
||||||
};
|
};
|
||||||
occ[idx] += 1;
|
occ[idx] += 1;
|
||||||
current = current.succ();
|
current = current + chrono::Duration::days(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
occ
|
occ
|
||||||
|
|||||||
Reference in New Issue
Block a user