From 6158adb3a9ae96de1d6452e021eed7478dabe9cf Mon Sep 17 00:00:00 2001 From: Joseph Livesey Date: Fri, 29 Nov 2024 15:29:37 -0500 Subject: [PATCH] docs: fix import path in docstring --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5d1fc2e..1a0dfc9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,9 +8,9 @@ //! //! ## Fetching an Ethereum Block //! -//! ```no_run +//! ```rust,no_run //! # use firehose_client::{Chain, FirehoseClient}; -//! # use vee::EthBlock as Block; +//! # use vee::protos::EthBlock as Block; //! # #[tokio::main] //! # async fn main() -> Result<(), vee::ProtosError> { //! let mut client = FirehoseClient::new(Chain::Ethereum); @@ -29,7 +29,7 @@ //! //! ## Streaming Ethereum Blocks //! -//! ```no_run +//! ```rust,no_run //! # use firehose_client::{Chain, FirehoseClient}; //! # use futures::StreamExt; //! # #[tokio::main]