diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2017-09-16 15:05:28 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-06-10 19:15:13 +0300 |
commit | fb745be27f667046296dc2a43a378d9d0607387c (patch) | |
tree | 605eb3dbeb56d3da772397c4452a97bb19a26a70 /benches | |
parent | cddea885f2eccbb590957f812c78c1b41d6e6bee (diff) |
rustfmt
Signed-off-by: Manos Pitsidianakis <el13635@mail.ntua.gr>
Diffstat (limited to 'benches')
-rw-r--r-- | benches/parse.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/benches/parse.rs b/benches/parse.rs index c1fced80..12a93961 100644 --- a/benches/parse.rs +++ b/benches/parse.rs @@ -10,6 +10,9 @@ use self::test::Bencher; #[bench] fn mail_parse(b: &mut Bencher) { - b.iter(|| Envelope::from(Box::new(BackendOpGenerator::new(Box::new(move || { - Box::new(MaildirOp::new("test/attachment_test".to_string()))})))) ); + b.iter(|| { + Envelope::from(Box::new(BackendOpGenerator::new(Box::new(move || { + Box::new(MaildirOp::new("test/attachment_test".to_string())) + })))) + }); } |