This commit is contained in:
Mylloon 2022-08-23 17:53:41 +02:00
parent 642387dcd3
commit 2f42d4de91
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -181,7 +181,7 @@ async fn get_webpage(
}
/// Check if the timetable is well built
fn check_consistency(schedules: &Vec<String>, timetable: &Vec<models::Day>) -> bool {
fn check_consistency(schedules: &[String], timetable: &Vec<models::Day>) -> bool {
let mut checker = true;
for day in timetable {
let mut i = 0;