From e33fed34a3ad8b43a990ff38b7e899f753b786b7 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 15 Aug 2022 12:23:01 +0200 Subject: [PATCH] typo --- src/timetable.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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