melib/error: add From<&MeliError> for MeliError
parent
3152411f22
commit
52cec59215
|
@ -327,3 +327,10 @@ impl<'a> From<&'a mut MeliError> for MeliError {
|
||||||
kind.clone()
|
kind.clone()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl<'a> From<&'a MeliError> for MeliError {
|
||||||
|
#[inline]
|
||||||
|
fn from(kind: &'a MeliError) -> MeliError {
|
||||||
|
kind.clone()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue