From 6eef285c45d5c1e08a7ab3ad8da7c84d36fc1835 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 12 Sep 2024 14:50:59 -0700 Subject: [PATCH] docs: update doccomment for get_from_endpoint --- src/libcanvas.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libcanvas.rs b/src/libcanvas.rs index bdb03bf..31bd518 100644 --- a/src/libcanvas.rs +++ b/src/libcanvas.rs @@ -32,7 +32,8 @@ impl CanvasClient { Ok(CanvasClient { client, api_url }) } - /// Call an API endpoint. Expects the relative path of the endpoint after the base API URL. + /// Call an API endpoint on the provided Canvas API with the authorization token. Expects the + /// relative path of the endpoint after the base API URL. /// Returns the response as plaintext in a String regardless of its serialization format. /// /// # Example