Implemented beta clippy lint recommendations (#1051)

This commit is contained in:
Jędrzej Stuczyński
2022-01-19 19:32:48 +00:00
committed by GitHub
parent 3e46c8630d
commit ecdbe034fa
8 changed files with 9 additions and 1 deletions
@@ -25,6 +25,7 @@ use validator_api_requests::models::{
};
#[cfg(feature = "nymd-client")]
#[must_use]
pub struct Config {
api_url: Url,
nymd_url: Url,
@@ -133,6 +133,7 @@ impl DirectSecp256k1HdWallet {
}
}
#[must_use]
pub struct DirectSecp256k1HdWalletBuilder {
/// The password to use when deriving a BIP39 seed from a mnemonic.
bip39_password: String,
@@ -112,7 +112,7 @@ impl Client {
routes::MIXNODES,
routes::REWARDED,
routes::INCLUSION_CHANCE,
&mixnode_id.to_string(),
mixnode_id,
],
NO_PARAMS,
)