melib: dont allocate new string
parent
06b96449c1
commit
6504a141f3
|
@ -59,7 +59,7 @@ impl fmt::Display for MeliError {
|
|||
|
||||
impl Into<String> for MeliError {
|
||||
fn into(self) -> String {
|
||||
format!("{}", self)
|
||||
self.details
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue