From 3f204b102abb408a9f0b2adc45065585ddc16a88 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 22 Feb 2024 11:51:58 +0100 Subject: fix test --- src/imap/mailbox_view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/imap') diff --git a/src/imap/mailbox_view.rs b/src/imap/mailbox_view.rs index 5055c40..076f92e 100644 --- a/src/imap/mailbox_view.rs +++ b/src/imap/mailbox_view.rs @@ -681,7 +681,7 @@ mod tests { content: rfc822.to_vec(), }; - let mv = MailView::new(std::borrow::Cow::Borrowed(&qr), &mail_in_idx)?; + let mv = MailView::new(&qr, &mail_in_idx)?; let (res_body, _seen) = mv.filter(&ap)?; let fattr = match res_body { -- cgit v1.2.3