Skip to content

Commit

Permalink
docs: fix import path in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
suchapalaver committed Nov 29, 2024
1 parent a221a2c commit 2b79d4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
//!
//! ## 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> {
//! # async fn main() -> Result<(), vee::protos::ProtosError> {
//! let mut client = FirehoseClient::new(Chain::Ethereum);
//!
//! if let Some(response) = client.fetch_block(20672593).await.unwrap().ok() {
Expand All @@ -29,11 +29,11 @@
//!
//! ## Streaming Ethereum Blocks
//!
//! ```no_run
//! ```rust,no_run
//! # use firehose_client::{Chain, FirehoseClient};
//! # use futures::StreamExt;
//! # #[tokio::main]
//! # async fn main() -> Result<(), vee::ProtosError> {
//! # async fn main() -> Result<(), vee::protos::ProtosError> {
//! const TOTAL_BLOCKS: u64 = 8192;
//! const START_BLOCK: u64 = 19581798;
//!
Expand Down

0 comments on commit 2b79d4e

Please sign in to comment.