Skip to content

Commit

Permalink
chore: fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
LIMPIX31 committed May 28, 2024
1 parent 4f27920 commit 7f01474
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions crates/spuz_get/src/json_resource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<R, D> {
pub(crate) stream: R,
pub(crate) json: PhantomData<D>,
Expand Down

0 comments on commit 7f01474

Please sign in to comment.