From 2f42d4de91827bbcab6f6375ba84824743bb8576 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 23 Aug 2022 17:53:41 +0200 Subject: [PATCH] clippy --- src/timetable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;