Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Nov 13, 2023
1 parent 1c9e269 commit 3453f3f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/imap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,9 @@ impl Imap {
.await
.context("prefetch_existing_msgs")?
} else {
self.prefetch(context, old_uid_next).await.context("prefetch")?
self.prefetch(context, old_uid_next)
.await
.context("prefetch")?
};
let read_cnt = msgs.len();

Expand Down Expand Up @@ -1342,7 +1344,11 @@ impl Imap {

/// Prefetch all messages greater than or equal to `uid_next`. Returns a list of fetch results
/// in the order of ascending delivery time to the server (INTERNALDATE).
async fn prefetch(&mut self, context: &Context, uid_next: u32) -> Result<Vec<(u32, async_imap::types::Fetch)>> {
async fn prefetch(
&mut self,
context: &Context,
uid_next: u32,
) -> Result<Vec<(u32, async_imap::types::Fetch)>> {
self.try_setup_notify(context).await?;

let session = self
Expand Down

0 comments on commit 3453f3f

Please sign in to comment.