aboutsummaryrefslogtreecommitdiff
path: root/src/imap/mailbox_view.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-06 23:35:23 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-06 23:35:23 +0100
commit1d84b0ffd006b895aeb15c621fcd0ced826a0599 (patch)
tree7fa450d0e9181b686e6f9e0626e613040c452b07 /src/imap/mailbox_view.rs
parent4e3cbf79d03c84028733b0ad5f9bd06a8a13757b (diff)
downloadaerogramme-1d84b0ffd006b895aeb15c621fcd0ced826a0599.tar.gz
aerogramme-1d84b0ffd006b895aeb15c621fcd0ced826a0599.zip
Format code
Diffstat (limited to 'src/imap/mailbox_view.rs')
-rw-r--r--src/imap/mailbox_view.rs5
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