Use Self:: in error return type
As is becoming customary in this codebase use `Self::Foo` to return the error variant in `From` impl. Refactor only, no logic changes.
This commit is contained in:
parent
2073a40c50
commit
f08aa16e91
|
@ -283,7 +283,7 @@ impl std::error::Error for Error {
|
|||
}
|
||||
|
||||
impl From<io::Error> for Error {
|
||||
fn from(e: io::Error) -> Self { Error::Io(e.kind()) }
|
||||
fn from(e: io::Error) -> Self { Self::Io(e.kind()) }
|
||||
}
|
||||
|
||||
impl From<PrevoutsSizeError> for Error {
|
||||
|
|
Loading…
Reference in New Issue