aboutsummaryrefslogtreecommitdiffstats
path: root/src/threads.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads.rs')
-rw-r--r--src/threads.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/threads.rs b/src/threads.rs
index eb8452e..dadb137 100644
--- a/src/threads.rs
+++ b/src/threads.rs
@@ -42,7 +42,7 @@ impl<'q, 'd> iter::Iterator for Threads<'q, 'd> {
};
if valid == 0{
- return None
+ return None;
}
let cthread = unsafe {
@@ -50,6 +50,6 @@ impl<'q, 'd> iter::Iterator for Threads<'q, 'd> {
ffi::notmuch_threads_get(self.0)
};
- Some(Thread::new(cthread))
+ Some(Self::Item::new(cthread))
}
}