fix formatting and clippy

This commit is contained in:
Tadeo hepperle
2023-10-06 14:13:58 +02:00
parent a5e4e76ccd
commit 600037e2cf
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -39,7 +39,5 @@ pub use secrecy::{ExposeSecret, SecretString};
// DeriveJunctions are the "path" part of these SecretUris.
pub use crypto::{DeriveJunction, SecretUri, SecretUriError, DEV_PHRASE};
#[cfg(all(
feature = "subxt", not(any(feature = "web", feature = "native"))
))]
compile_error!("subxt-signer: When using the 'subxt' feature, exactly one of the 'web' and 'native' features should be used.");
#[cfg(all(feature = "subxt", not(any(feature = "web", feature = "native"))))]
compile_error!("subxt-signer: When using the 'subxt' feature, exactly one of the 'web' and 'native' features should be used.");
@@ -211,7 +211,7 @@ async fn chainhead_unstable_unpin() {
let sub_id = blocks.subscription_id().unwrap();
assert!(rpc
.chainhead_unstable_unpin(sub_id.clone(), hash)
.chainhead_unstable_unpin(sub_id, hash)
.await
.is_ok());
// The block was already unpinned.