File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ pub trait AnvilApi<N: Network>: Send + Sync {
2323 /// Stops impersonating an account if previously set with `anvil_impersonateAccount`.
2424 async fn anvil_stop_impersonating_account ( & self , address : Address ) -> TransportResult < ( ) > ;
2525
26- /// If set to true will make every account impersonated .
26+ /// If set to ` true`, impersonates all accounts .
2727 async fn anvil_auto_impersonate_account ( & self , enabled : bool ) -> TransportResult < ( ) > ;
2828
2929 /// Impersonates the `from` address in the given transaction request, optionally funds the
Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ use alloy_transport::TransportResult;
77#[ cfg_attr( target_family = "wasm" , async_trait:: async_trait( ?Send ) ) ]
88#[ cfg_attr( not( target_family = "wasm" ) , async_trait:: async_trait) ]
99pub trait NetApi < N > : Send + Sync {
10- /// Returns a `bool` indicating whether or not the node is listening for network connections.
10+ /// Returns `true` if the node is listening for network connections.
1111 async fn net_listening ( & self ) -> TransportResult < bool > ;
1212 /// Returns the number of peers connected to the node.
1313 async fn net_peer_count ( & self ) -> TransportResult < u64 > ;
14- /// Returns the network ID (e.g. 1 for mainnet).
14+ /// Returns the network ID (for example, `1` for mainnet).
1515 async fn net_version ( & self ) -> TransportResult < u64 > ;
1616}
1717
You can’t perform that action at this time.
0 commit comments