mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fmt: format doc comments (#5308)
This commit is contained in:
@ -153,11 +153,10 @@ where
|
||||
/// # Example
|
||||
///
|
||||
/// ```rust
|
||||
/// use reth::cli::components::RethRpcServerHandles;
|
||||
/// use reth::rpc::api::EthApiClient;
|
||||
/// use reth::{cli::components::RethRpcServerHandles, rpc::api::EthApiClient};
|
||||
/// # async fn t(handles: RethRpcServerHandles) {
|
||||
/// let client = handles.rpc.http_client().expect("http server not started");
|
||||
/// let block_number = client.block_number().await.unwrap();
|
||||
/// let client = handles.rpc.http_client().expect("http server not started");
|
||||
/// let block_number = client.block_number().await.unwrap();
|
||||
/// # }
|
||||
/// ```
|
||||
#[derive(Debug, Clone)]
|
||||
|
||||
@ -94,7 +94,7 @@ pub trait XdgPath {
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
/// use reth::dirs::{PlatformPath, DataDirPath};
|
||||
/// use reth::dirs::{DataDirPath, PlatformPath};
|
||||
/// use std::str::FromStr;
|
||||
///
|
||||
/// // Resolves to the platform-specific database path
|
||||
|
||||
Reference in New Issue
Block a user