From c8026131cf7a04db045111275f0ad09e0633e183 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 15 Aug 2022 17:25:14 +0200 Subject: [PATCH] add comments --- src/timetable.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/timetable.rs b/src/timetable.rs index 48574ec..e7203b3 100644 --- a/src/timetable.rs +++ b/src/timetable.rs @@ -2,6 +2,7 @@ use scraper::{Html, Selector}; mod models; +/// Fetch the timetable for a class pub async fn timetable(year: i8, semester: i8, letter: Option) -> Vec { let document = get_webpage(year, semester, letter) .await @@ -96,6 +97,7 @@ pub async fn timetable(year: i8, semester: i8, letter: Option) -> Vec