diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-08 21:18:45 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-08 21:18:45 +0100 |
commit | a90f425d32af866974eec58b43c02f302ae3376a (patch) | |
tree | df05ec98cab270a236f75a3b9397af642492bcef /src/imap/mail_view.rs | |
parent | fe28120676b2de0adc5db52a5d437b956f88fc06 (diff) | |
download | aerogramme-a90f425d32af866974eec58b43c02f302ae3376a.tar.gz aerogramme-a90f425d32af866974eec58b43c02f302ae3376a.zip |
Futures must be ordered
Diffstat (limited to 'src/imap/mail_view.rs')
-rw-r--r-- | src/imap/mail_view.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imap/mail_view.rs b/src/imap/mail_view.rs index 879166d..a593b1a 100644 --- a/src/imap/mail_view.rs +++ b/src/imap/mail_view.rs @@ -27,13 +27,13 @@ use crate::imap::response::Body; pub struct MailView<'a> { pub in_idx: &'a MailIndex<'a>, - pub query_result: &'a QueryResult<'a>, + pub query_result: &'a QueryResult, pub content: FetchedMail<'a>, } impl<'a> MailView<'a> { pub fn new( - query_result: &'a QueryResult<'a>, + query_result: &'a QueryResult, in_idx: &'a MailIndex<'a>, ) -> Result<MailView<'a>> { Ok(Self { |