docs: add doccomment for get_courses
This commit is contained in:
parent
cdddd1937e
commit
5cb87b1adf
1 changed files with 1 additions and 0 deletions
|
@ -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<Vec<Course>, reqwest::Error> {
|
||||
let response = self
|
||||
.client
|
||||
|
|
Loading…
Reference in a new issue