diff --git a/notmuch/tests/allmail.rs b/notmuch/tests/allmail.rs index 9977d82..21c2f7b 100644 --- a/notmuch/tests/allmail.rs +++ b/notmuch/tests/allmail.rs @@ -1,11 +1,10 @@ use std::{ error::Error, io::{stdout, Write}, - time::{Duration, Instant}, + time::Instant, }; -use itertools::Itertools; -use notmuch::{Notmuch, NotmuchError, SearchSummary, ThreadSet}; +use notmuch::Notmuch; use rayon::iter::{ParallelBridge, ParallelIterator}; #[test] @@ -27,7 +26,7 @@ fn parse_one() -> Result<(), Box> { .enumerate() .par_bridge() .for_each(|(i, msg)| { - let ts = nm + let _ts = nm .show(&msg) .expect(&format!("failed to show msg: {}", msg)); //println!("{:?}", ts); @@ -79,7 +78,7 @@ fn parse_bulk() -> Result<(), Box> { //.par_bridge() .for_each(|(i, msgs)| { let query = msgs.join(" OR "); - let ts = nm + let _ts = nm .show(&query) .expect(&format!("failed to show msgs: {}", query)); //println!("{:?}", ts);