diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-08 21:32:55 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-08 21:32:55 +0100 |
commit | 056f8ea14c373b8c0009ed4827a553ac2e27815b (patch) | |
tree | 81e3bfd1419feb87f4f44513e4ee3d0e34ecd20e /src/imap/mail_view.rs | |
parent | a90f425d32af866974eec58b43c02f302ae3376a (diff) | |
download | aerogramme-056f8ea14c373b8c0009ed4827a553ac2e27815b.tar.gz aerogramme-056f8ea14c373b8c0009ed4827a553ac2e27815b.zip |
Better choose wether or not a body is required
Diffstat (limited to 'src/imap/mail_view.rs')
-rw-r--r-- | src/imap/mail_view.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/imap/mail_view.rs b/src/imap/mail_view.rs index a593b1a..eeb6b4b 100644 --- a/src/imap/mail_view.rs +++ b/src/imap/mail_view.rs @@ -32,10 +32,7 @@ pub struct MailView<'a> { } impl<'a> MailView<'a> { - pub fn new( - query_result: &'a QueryResult, - in_idx: &'a MailIndex<'a>, - ) -> Result<MailView<'a>> { + pub fn new(query_result: &'a QueryResult, in_idx: &'a MailIndex<'a>) -> Result<MailView<'a>> { Ok(Self { in_idx, query_result, |