mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 19:11:04 +00:00
Make clippy happy on latest nightly (#11403)
Co-authored-by: Vladimir Istyufeev <vladimir@parity.io>
This commit is contained in:
@@ -159,7 +159,7 @@ fn generate_chain_spec(
|
|||||||
Default::default(),
|
Default::default(),
|
||||||
);
|
);
|
||||||
|
|
||||||
chain_spec.as_json(false).map_err(|err| err)
|
chain_spec.as_json(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn generate_authority_keys_and_store(seeds: &[String], keystore_path: &Path) -> Result<(), String> {
|
fn generate_authority_keys_and_store(seeds: &[String], keystore_path: &Path) -> Result<(), String> {
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ impl<'a> From<&'a str> for Error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> From<String> for Error {
|
impl From<String> for Error {
|
||||||
fn from(s: String) -> Self {
|
fn from(s: String) -> Self {
|
||||||
Error::Other(s)
|
Error::Other(s)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user