diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-02-22 17:31:03 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-02-22 17:31:03 +0100 |
commit | 9b26e251e3d6d7b850064a2c1ed5bb5870918f1e (patch) | |
tree | a90c8adb0a97e7e58c90727d7ad7419a5fa0ccd6 /src/imap/command/selected.rs | |
parent | 2adf73dd8e6e76997d4fb67f9f7b3fe065530722 (diff) | |
download | aerogramme-9b26e251e3d6d7b850064a2c1ed5bb5870918f1e.tar.gz aerogramme-9b26e251e3d6d7b850064a2c1ed5bb5870918f1e.zip |
formatting
Diffstat (limited to 'src/imap/command/selected.rs')
-rw-r--r-- | src/imap/command/selected.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/imap/command/selected.rs b/src/imap/command/selected.rs index e871509..d000905 100644 --- a/src/imap/command/selected.rs +++ b/src/imap/command/selected.rs @@ -3,7 +3,7 @@ use std::sync::Arc; use anyhow::Result; use imap_codec::imap_types::command::{Command, CommandBody, FetchModifier, StoreModifier}; -use imap_codec::imap_types::core::{Vec1, Charset}; +use imap_codec::imap_types::core::{Charset, Vec1}; use imap_codec::imap_types::fetch::MacroOrMessageDataItemNames; use imap_codec::imap_types::flag::{Flag, StoreResponse, StoreType}; use imap_codec::imap_types::mailbox::Mailbox as MailboxCodec; @@ -59,7 +59,10 @@ pub async fn dispatch<'a>( charset, criteria, uid, - } => ctx.search(charset, &SearchKey::And(criteria.clone()), uid).await, + } => { + ctx.search(charset, &SearchKey::And(criteria.clone()), uid) + .await + } CommandBody::Expunge { // UIDPLUS (rfc4315) uid_sequence_set, |