From b5b0f7e97abe0dbd5b54a1fc69e764a124c271b2 Mon Sep 17 00:00:00 2001 From: eaon Date: Sun, 9 Dec 2018 12:48:24 -0500 Subject: =?UTF-8?q?Edition=202018=20hit=20stable=20=F0=9F=99=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/main.rs') diff --git a/tests/main.rs b/tests/main.rs index dd96644..05cd79f 100644 --- a/tests/main.rs +++ b/tests/main.rs @@ -1,5 +1,5 @@ -extern crate dirs; -extern crate notmuch; +use dirs; +use notmuch; use std::sync::Arc; @@ -30,9 +30,9 @@ fn main() { // let mut threads = db.create_query(&"".to_string()).unwrap().search_threads().unwrap(); - let threads = Arc::new(::search_threads(query).unwrap()); + let threads = Arc::new( as QueryExt>::search_threads(query).unwrap()); - while let Some(thread) = as StreamingIteratorExt<_>>::next(threads.clone()) + while let Some(thread) = as StreamingIteratorExt<_>>::next(threads.clone()) { println!("thread {:?} {:?}", thread.subject(), thread.authors()); } -- cgit v1.2.1