diff --git a/codegen/src/types/mod.rs b/codegen/src/types/mod.rs index 338da6109d..2052ac2e76 100644 --- a/codegen/src/types/mod.rs +++ b/codegen/src/types/mod.rs @@ -21,7 +21,7 @@ use crate::error::CodegenError; pub use self::{ composite_def::{CompositeDef, CompositeDefFieldType, CompositeDefFields}, derives::{Derives, DerivesRegistry}, - substitutes::{AbsolutePath, TypeSubstitutes}, + substitutes::TypeSubstitutes, type_def::TypeDefGen, type_def_params::TypeDefParameters, type_path::{TypeParameter, TypePath, TypePathType}, diff --git a/lightclient/src/platform/mod.rs b/lightclient/src/platform/mod.rs index bfba17c029..7a1182da66 100644 --- a/lightclient/src/platform/mod.rs +++ b/lightclient/src/platform/mod.rs @@ -11,7 +11,7 @@ mod wasm_platform; #[cfg(feature = "web")] mod wasm_socket; -pub use helpers::{build_platform, PlatformType}; +pub use helpers::build_platform; #[cfg(feature = "native")] mod helpers { diff --git a/subxt/src/backend/rpc/rpc_client.rs b/subxt/src/backend/rpc/rpc_client.rs index 0e4bb62940..4302b9867e 100644 --- a/subxt/src/backend/rpc/rpc_client.rs +++ b/subxt/src/backend/rpc/rpc_client.rs @@ -230,10 +230,7 @@ impl Stream for RpcSubscription { mod jsonrpsee_helpers { pub use jsonrpsee::{ client_transport::ws::{Receiver, Sender, Url, WsTransportClientBuilder}, - core::{ - client::{Client, ClientBuilder}, - Error, - }, + core::{client::Client, Error}, }; /// Build WS RPC client from URL diff --git a/subxt/src/client/light_client/builder.rs b/subxt/src/client/light_client/builder.rs index da784e5cb8..3032a86b3e 100644 --- a/subxt/src/client/light_client/builder.rs +++ b/subxt/src/client/light_client/builder.rs @@ -249,7 +249,7 @@ mod jsonrpsee_helpers { use crate::error::{Error, LightClientError}; pub use jsonrpsee::{ client_transport::ws::{Receiver, Sender, Url, WsTransportClientBuilder}, - core::client::{Client, ClientBuilder}, + core::client::Client, }; /// Build WS RPC client from URL diff --git a/testing/integration-tests/src/full_client/blocks/mod.rs b/testing/integration-tests/src/full_client/blocks/mod.rs index efba9f0a14..0cb40404b7 100644 --- a/testing/integration-tests/src/full_client/blocks/mod.rs +++ b/testing/integration-tests/src/full_client/blocks/mod.rs @@ -214,7 +214,7 @@ async fn fetch_block_and_decode_extrinsic_details() { .collect::>(); // All blocks contain a timestamp; check this first: - let timestamp = block_extrinsics.get(0).unwrap(); + let timestamp = block_extrinsics.first().unwrap(); timestamp.as_root_extrinsic::().unwrap(); timestamp .as_extrinsic::() diff --git a/testing/test-runtime/build.rs b/testing/test-runtime/build.rs index 23643e491d..9a6ae962b6 100644 --- a/testing/test-runtime/build.rs +++ b/testing/test-runtime/build.rs @@ -103,10 +103,7 @@ async fn run() { mod client { pub use jsonrpsee::{ client_transport::ws::{Receiver, Sender, Url, WsTransportClientBuilder}, - core::{ - client::{Client, ClientBuilder}, - Error, - }, + core::{client::Client, Error}, }; pub use jsonrpsee::core::{client::ClientT, rpc_params};