From 7ecef0745051c0205a76685cf69e12d947442dca Mon Sep 17 00:00:00 2001 From: Joseph Livesey Date: Fri, 29 Nov 2024 15:52:13 -0500 Subject: [PATCH] fix: example docstring --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 1fc41ae..005e7d1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -32,6 +32,7 @@ //! ```rust,no_run //! # use firehose_client::{Chain, FirehoseClient}; //! # use futures::StreamExt; +//! # use vee::EthBlock as Block; //! # #[tokio::main] //! # async fn main() -> Result<(), vee::ProtosError> { //! const TOTAL_BLOCKS: u64 = 8192; @@ -39,7 +40,7 @@ //! //! let mut client = FirehoseClient::new(Chain::Ethereum); //! let mut stream = client -//! .stream_blocks(START_BLOCK, TOTAL_BLOCKS) +//! .stream_blocks::(START_BLOCK, TOTAL_BLOCKS) //! .await //! .unwrap(); //!