Address lint.

This commit is contained in:
Bill Thiede 2024-02-03 11:14:43 -08:00
parent 568d83f029
commit c59a883351

View File

@ -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<dyn Error>> {
.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<dyn Error>> {
//.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);