diff options
| author | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2019-10-25 10:00:28 +0200 |
|---|---|---|
| committer | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2019-10-25 10:00:28 +0200 |
| commit | 03461235f381df7b22caa1bf8d1afac57079b189 (patch) | |
| tree | 02a7f768461766fb8c0ac5fe5d603aa996b5f82c /src/thread.rs | |
| parent | 9d3eaa7aa7e2be84e150075fb12e97083d7c61f8 (diff) | |
| download | mail-03461235f381df7b22caa1bf8d1afac57079b189.tar.gz | |
limit visibility of 'from_ptr' functions to crate
Diffstat (limited to 'src/thread.rs')
| -rw-r--r-- | src/thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.rs b/src/thread.rs index 9634a57..34cebd3 100644 --- a/src/thread.rs +++ b/src/thread.rs @@ -33,7 +33,7 @@ impl<'d, 'q> Thread<'d, 'q> where 'd: 'q { - pub fn from_ptr<P>(ptr: *mut ffi::notmuch_thread_t, owner: P) -> Thread<'d, 'q> + pub(crate) fn from_ptr<P>(ptr: *mut ffi::notmuch_thread_t, owner: P) -> Thread<'d, 'q> where P: Into<ScopedPhantomcow<'q, Query<'d>>>, { |
