melib: dont allocate new string

embed
Manos Pitsidianakis 2019-05-15 22:09:36 +03:00
parent 06b96449c1
commit 6504a141f3
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ impl fmt::Display for MeliError {
impl Into<String> for MeliError {
fn into(self) -> String {
format!("{}", self)
self.details
}
}