diff options
Diffstat (limited to 'src/imap/mailbox_view.rs')
-rw-r--r-- | src/imap/mailbox_view.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/imap/mailbox_view.rs b/src/imap/mailbox_view.rs index 362e2e2..2841b7b 100644 --- a/src/imap/mailbox_view.rs +++ b/src/imap/mailbox_view.rs @@ -323,10 +323,7 @@ impl MailboxView { // 4. Fetch additional info about the emails let query_scope = crit.query_scope(); - let uuids = to_fetch - .iter() - .map(|midx| midx.uuid) - .collect::<Vec<_>>(); + let uuids = to_fetch.iter().map(|midx| midx.uuid).collect::<Vec<_>>(); let query_result = self.0.query(&uuids, query_scope).fetch().await?; // 5. If needed, filter the selection based on the body |