From a340db978034715823eaadd005d2627815aed4ea Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 30 May 2021 19:18:34 +0200 Subject: github::fetch_repos(): Add documentation --- src/github.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/github.rs b/src/github.rs index f5598ba..0f4de77 100644 --- a/src/github.rs +++ b/src/github.rs @@ -41,6 +41,7 @@ impl Repo { } +/// Fetch all GitHub repositories for the given user. pub async fn fetch_repos() -> Result, Error> { let mut headers = reqwest::header::HeaderMap::new(); headers.insert("Accept", "application/vnd.github.v3+json".parse()?); -- cgit v1.2.3