fix unused warning (#1477)

* fix unused warning

* fmt
This commit is contained in:
jole 2022-07-14 02:46:47 +02:00 committed by GitHub
parent ef8d97e05e
commit cfc5a004e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -7,8 +7,10 @@ use crate::{
PendingTransaction, QuorumProvider, RwClient, SyncingStatus, PendingTransaction, QuorumProvider, RwClient, SyncingStatus,
}; };
#[cfg(all(not(target_arch = "wasm32"), feature = "ws"))]
use crate::transports::Authorization;
#[cfg(not(target_arch = "wasm32"))] #[cfg(not(target_arch = "wasm32"))]
use crate::transports::{Authorization, HttpRateLimitRetryPolicy, RetryClient}; use crate::transports::{HttpRateLimitRetryPolicy, RetryClient};
#[cfg(feature = "celo")] #[cfg(feature = "celo")]
use crate::CeloMiddleware; use crate::CeloMiddleware;