diff --git a/src/timetable.rs b/src/timetable.rs index 40d6961..3a8563e 100644 --- a/src/timetable.rs +++ b/src/timetable.rs @@ -3,7 +3,7 @@ use scraper::{Selector, Html}; mod models; pub async fn timetable(year: i8, semester: i8, letter: Option) -> Vec { - let document_timetable = get_webpage(year, semester, letter).await.expect("Can't reach timetable website."); + let document = get_webpage(year, semester, letter).await.expect("Can't reach timetable website."); // Selectors let sel_table = Selector::parse("table").unwrap(); @@ -16,7 +16,7 @@ pub async fn timetable(year: i8, semester: i8, letter: Option) -> Vec