aboutsummaryrefslogtreecommitdiffstats
path: root/tests/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/main.rs')
-rw-r--r--tests/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/main.rs b/tests/main.rs
index 4a81792..4c74115 100644
--- a/tests/main.rs
+++ b/tests/main.rs
@@ -32,9 +32,7 @@ fn main() {
let threads = Arc::new(<Query as QueryExt>::search_threads(query).unwrap());
- while let Some(thread) = <Threads<Query> as StreamingIteratorExt<
- Thread<Threads<Query>>,
- >>::next(threads.clone())
+ while let Some(thread) = <Threads<_> as StreamingIteratorExt<_>>::next(threads.clone())
{
println!("thread {:?} {:?}", thread.subject(), thread.authors());
}