diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-12-01 16:09:39 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-12-07 17:17:05 +0200 |
commit | e5da10093d68339247ac6c2866348757128b7e0d (patch) | |
tree | 9073982379c5724cb4066fd424c6f12dbc3e3a9e /ui/src/components/mail/listing.rs | |
parent | 8e27b86453a8c7fc31c105150b984acae921e2b6 (diff) |
ui/listing: use MailListingTrait instead of ListingTrait
Diffstat (limited to 'ui/src/components/mail/listing.rs')
-rw-r--r-- | ui/src/components/mail/listing.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/mail/listing.rs b/ui/src/components/mail/listing.rs index 4ee5536d..b85d00f9 100644 --- a/ui/src/components/mail/listing.rs +++ b/ui/src/components/mail/listing.rs @@ -136,7 +136,7 @@ pub enum ListingComponent { use crate::ListingComponent::*; impl core::ops::Deref for ListingComponent { - type Target = dyn ListingTrait; + type Target = dyn MailListingTrait; fn deref(&self) -> &Self::Target { match &self { @@ -149,7 +149,7 @@ impl core::ops::Deref for ListingComponent { } impl core::ops::DerefMut for ListingComponent { - fn deref_mut(&mut self) -> &mut (dyn ListingTrait + 'static) { + fn deref_mut(&mut self) -> &mut (dyn MailListingTrait + 'static) { match self { Compact(l) => l, Plain(l) => l, |