From 5cb87b1adfc8898785fe4985e92db8ed032c8329 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 12 Sep 2024 14:20:42 -0700 Subject: [PATCH] docs: add doccomment for get_courses --- src/libcanvas/courses.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcanvas/courses.rs b/src/libcanvas/courses.rs index 098b065..47ce4dc 100644 --- a/src/libcanvas/courses.rs +++ b/src/libcanvas/courses.rs @@ -4,6 +4,7 @@ use time::serde::iso8601; use time::OffsetDateTime; impl CanvasClient { + /// Get a list of courses the current user is enrolled in. pub async fn get_courses(&self) -> Result, reqwest::Error> { let response = self .client