diff --git a/crates/rpc-client/src/builtin.rs b/crates/rpc-client/src/builtin.rs index 66be7ad1bef..f551c40963f 100644 --- a/crates/rpc-client/src/builtin.rs +++ b/crates/rpc-client/src/builtin.rs @@ -1,4 +1,4 @@ -use std::{path::PathBuf, str::FromStr}; +use std::str::FromStr; use alloy_json_rpc::RpcError; use alloy_transport::{BoxTransport, BoxTransportConnect, TransportError, TransportErrorKind}; @@ -18,7 +18,7 @@ pub enum BuiltInConnectionString { Ws(url::Url, Option), /// IPC transport. #[cfg(feature = "ipc")] - Ipc(PathBuf), + Ipc(std::path::PathBuf), } impl BoxTransportConnect for BuiltInConnectionString {