Compare commits

..

No commits in common. "0f1a60a3482631879c84c96318105f5fd5d9ca93" and "568d83f029e46d61e4f0d4df687db9712abbedcc" have entirely different histories.

2 changed files with 6 additions and 5 deletions

View File

@ -1,10 +1,11 @@
use std::{
error::Error,
io::{stdout, Write},
time::Instant,
time::{Duration, Instant},
};
use notmuch::Notmuch;
use itertools::Itertools;
use notmuch::{Notmuch, NotmuchError, SearchSummary, ThreadSet};
use rayon::iter::{ParallelBridge, ParallelIterator};
#[test]
@ -26,7 +27,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);
@ -78,7 +79,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);

View File

@ -350,7 +350,7 @@ impl QueryRoot {
Body::PlainText(PlainText { text, content_tree }) => Body::Html(Html {
html: format!(
r#"<p class="view-part-text-plain">{}</p>"#,
sanitize_html(&linkify_html(&text))?
linkify_html(&text)
),
content_tree: if debug_content_tree {
render_content_type_tree(&m)