From 7f014744137a07efe1cc464a0c213908f5989665 Mon Sep 17 00:00:00 2001 From: Danil Karpenko Date: Tue, 28 May 2024 12:25:01 +0200 Subject: [PATCH] chore: fix doc test --- crates/spuz_get/src/json_resource.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/crates/spuz_get/src/json_resource.rs b/crates/spuz_get/src/json_resource.rs index 0150fa9..70e34c5 100644 --- a/crates/spuz_get/src/json_resource.rs +++ b/crates/spuz_get/src/json_resource.rs @@ -18,19 +18,6 @@ use tokio::fs::File; /// /// It is recommended that you perform one of the actions immediately, as /// prolonged inactivity may result in a timeout. -/// -/// # Example -/// ```no_run -/// # use pollster::FutureExt;/// -/// # async move { -/// let json_resource = todo!(); -/// -/// let result = json_resource.json().await?; -/// // Or -/// json_resource.save("./local.json").await?; -/// # Result::<(), spuz_get::Error>::Ok(()) -/// # }.block_on() -/// ``` pub struct JsonResource { pub(crate) stream: R, pub(crate) json: PhantomData,