diff --git a/rpc/src/client/transport.rs b/rpc/src/client/transport.rs index 311c574f3..1e9fe8a04 100644 --- a/rpc/src/client/transport.rs +++ b/rpc/src/client/transport.rs @@ -25,5 +25,5 @@ macro_rules! perform_with_compat { pub mod http; #[cfg(feature = "mock-client")] pub mod mock; -#[any(test, feature = "websocket-client")] +#[cfg(any(test, feature = "websocket-client"))] pub mod websocket;