Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 committed Jan 2, 2024
1 parent ed51059 commit 32e6762
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion codegen/src/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
2 changes: 1 addition & 1 deletion lightclient/src/platform/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
5 changes: 1 addition & 4 deletions subxt/src/backend/rpc/rpc_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,7 @@ impl<Res: DeserializeOwned> Stream for RpcSubscription<Res> {
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
Expand Down
5 changes: 1 addition & 4 deletions testing/test-runtime/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit 32e6762

Please sign in to comment.