mirror of
https://git.meli.delivery/meli/meli
synced 2024-11-10 19:10:57 +00:00
melib/error: add From<&MeliError> for MeliError
This commit is contained in:
parent
3152411f22
commit
52cec59215
@ -327,3 +327,10 @@ impl<'a> From<&'a mut MeliError> for MeliError {
|
||||
kind.clone()
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> From<&'a MeliError> for MeliError {
|
||||
#[inline]
|
||||
fn from(kind: &'a MeliError) -> MeliError {
|
||||
kind.clone()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user