diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-08 11:14:34 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-08 11:14:34 +0100 |
commit | 72f9a221ed2318d8ca3452b6574c900be923d3d5 (patch) | |
tree | bc2701eabcd6c86a3cc5ade0483e788b5113de49 /src/imap/mail_view.rs | |
parent | 558e32fbd27be9a81144571b4baf318293be1344 (diff) | |
download | aerogramme-72f9a221ed2318d8ca3452b6574c900be923d3d5.tar.gz aerogramme-72f9a221ed2318d8ca3452b6574c900be923d3d5.zip |
Formatting & tests
Diffstat (limited to 'src/imap/mail_view.rs')
-rw-r--r-- | src/imap/mail_view.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/imap/mail_view.rs b/src/imap/mail_view.rs index 8dd68b5..7da21c4 100644 --- a/src/imap/mail_view.rs +++ b/src/imap/mail_view.rs @@ -32,7 +32,10 @@ pub struct MailView<'a> { } impl<'a> MailView<'a> { - pub fn new(query_result: &'a QueryResult<'a>, in_idx: &'a MailIndex<'a>) -> Result<MailView<'a>> { + pub fn new( + query_result: &'a QueryResult<'a>, + in_idx: &'a MailIndex<'a>, + ) -> Result<MailView<'a>> { Ok(Self { in_idx, query_result, |