Make clippy happy on latest nightly (#11403)

Co-authored-by: Vladimir Istyufeev <vladimir@parity.io>
This commit is contained in:
Bastian Köcher
2022-05-12 13:02:29 +02:00
committed by GitHub
parent 0873e1703b
commit 9cb699bfe9
2 changed files with 2 additions and 2 deletions
+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)
}