diff --git a/src/timetable.rs b/src/timetable.rs index bb29127..ff1b9bb 100644 --- a/src/timetable.rs +++ b/src/timetable.rs @@ -181,7 +181,7 @@ async fn get_webpage( } /// Check if the timetable is well built -fn check_consistency(schedules: &Vec, timetable: &Vec) -> bool { +fn check_consistency(schedules: &[String], timetable: &Vec) -> bool { let mut checker = true; for day in timetable { let mut i = 0;