Fix infinite recursion

This commit is contained in:
Aode (Lion) 2022-03-16 12:58:44 -05:00
parent 1012fd1001
commit 1ec02012ca

View file

@ -232,7 +232,9 @@ where
ErrorKind: From<T>,
{
fn from(e: T) -> Self {
ErrorKind::from(e).into()
Error {
kind: ErrorKind::from(e),
}
}
}