Make clippy happy on latest nightly (#11403)

Co-authored-by: Vladimir Istyufeev <vladimir@parity.io>
This commit is contained in:
Bastian KöcherandVladimir Istyufeev authored and GitHub committed 2022-05-12 14:02:29 +03:00
1 parent 0873e1703b
commit 9cb699bfe9
2 files changed
+2 -2

No files matched your search

@@ -159,7 +159,7 @@ fn generate_chain_spec(
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> {
+1 -1
View File
@@ -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 {
Error::Other(s)
}