Error as From<TorAddrError> is recursive.
What's wrong with this code? :)
impl From<TorAddrError> for Error {
fn from(e: TorAddrError) -> Error {
e.into()
}
}
Reported by clippy-nightly. Fixing.
Edited by Nick Mathewson
What's wrong with this code? :)
impl From<TorAddrError> for Error {
fn from(e: TorAddrError) -> Error {
e.into()
}
}
Reported by clippy-nightly. Fixing.