forked from Anri/cal8tor
clippy
This commit is contained in:
parent
642387dcd3
commit
2f42d4de91
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue