diff options
Diffstat (limited to 'src/threads.rs')
| -rw-r--r-- | src/threads.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/threads.rs b/src/threads.rs index 2d6d7c4..596874a 100644 --- a/src/threads.rs +++ b/src/threads.rs @@ -15,7 +15,7 @@ use ffi; #[derive(Debug)] pub struct Threads<'q, 'd:'q>( *mut ffi::notmuch_threads_t, - marker::PhantomData<&'q mut Query<'d>>, + marker::PhantomData<&'q Query<'d>>, ); impl<'q, 'd> NewFromPtr<*mut ffi::notmuch_threads_t> for Threads<'q, 'd> { @@ -55,4 +55,5 @@ impl<'q, 'd> iter::Iterator for Threads<'q, 'd> { } } -unsafe impl<'q, 'd> Send for Threads<'q, 'd>{} +unsafe impl<'q, 'd> Send for Threads<'q, 'd> {} +// unsafe impl<'q, 'd> Sync for Threads<'q, 'd> {} |
