diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-01-07 12:55:27 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-01-07 12:55:27 +0200 |
commit | ca7d72e732f098ff702143b220ffdc7cd9f60554 (patch) | |
tree | e14c42348731b7d43f9f50cab1940767ea522e2e /ui/src/components | |
parent | 9fcc868acd56b4ba2b29c2b62dc01377e8a84425 (diff) |
melib: Replace String with Cow<'static, str>
Diffstat (limited to 'ui/src/components')
-rw-r--r-- | ui/src/components/mail/compose.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/mail/compose.rs b/ui/src/components/mail/compose.rs index e1a492ca..0c3a42ad 100644 --- a/ui/src/components/mail/compose.rs +++ b/ui/src/components/mail/compose.rs @@ -1228,8 +1228,8 @@ pub fn save_draft( context.accounts[account_cursor].save_special(bytes, folder_type, flags) { context.replies.push_back(UIEvent::Notification( - summary, - details, + summary.map(|s| s.into()), + details.into(), Some(NotificationType::ERROR), )); } |