aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.rs
diff options
context:
space:
mode:
authorDirk Van Haerenborgh <vhdirk@gmail.com>2019-10-25 10:00:28 +0200
committerDirk Van Haerenborgh <vhdirk@gmail.com>2019-10-25 10:00:28 +0200
commit03461235f381df7b22caa1bf8d1afac57079b189 (patch)
tree02a7f768461766fb8c0ac5fe5d603aa996b5f82c /src/thread.rs
parent9d3eaa7aa7e2be84e150075fb12e97083d7c61f8 (diff)
downloadmail-03461235f381df7b22caa1bf8d1afac57079b189.tar.gz
limit visibility of 'from_ptr' functions to crate
Diffstat (limited to 'src/thread.rs')
-rw-r--r--src/thread.rs2
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>>>,
{