aboutsummaryrefslogtreecommitdiff
path: root/src/imap/mail_view.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-08 21:18:45 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-08 21:18:45 +0100
commita90f425d32af866974eec58b43c02f302ae3376a (patch)
treedf05ec98cab270a236f75a3b9397af642492bcef /src/imap/mail_view.rs
parentfe28120676b2de0adc5db52a5d437b956f88fc06 (diff)
downloadaerogramme-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.rs4
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 {