diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-02-22 11:51:58 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-02-22 11:51:58 +0100 |
commit | 3f204b102abb408a9f0b2adc45065585ddc16a88 (patch) | |
tree | 263ab3e9aac0e8f2e8f69603b0b19a2867833637 /src/imap/mailbox_view.rs | |
parent | 4d501b6947497d7705c64dcaf093e5e5a09a9235 (diff) | |
download | aerogramme-3f204b102abb408a9f0b2adc45065585ddc16a88.tar.gz aerogramme-3f204b102abb408a9f0b2adc45065585ddc16a88.zip |
fix test
Diffstat (limited to 'src/imap/mailbox_view.rs')
-rw-r--r-- | src/imap/mailbox_view.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |