From fafd46a2857afbbd9317bc9bd6cde9155cc08ca1 Mon Sep 17 00:00:00 2001 From: Caleb Leinz Date: Thu, 12 Dec 2024 10:42:14 -0800 Subject: [PATCH] test: Fix broken doctest --- src/api.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api.rs b/src/api.rs index f9d39e4..224acab 100644 --- a/src/api.rs +++ b/src/api.rs @@ -67,9 +67,9 @@ impl<'a, T: 'a + Send + Sync> PaginatedErr<'a, T> for Error { /// # async fn main() -> Result<(), Box> { /// # let config = Config::from_env()?; /// # let client = Client::from_config(config); -/// let request: Site = client +/// let request = client /// .get_request_by_id(42) -/// .await? +/// .await?; /// /// println!("Created on {}", request.created); // Direct access to created field /// // through the Container