From 03461235f381df7b22caa1bf8d1afac57079b189 Mon Sep 17 00:00:00 2001 From: Dirk Van Haerenborgh Date: Fri, 25 Oct 2019 10:00:28 +0200 Subject: limit visibility of 'from_ptr' functions to crate --- src/thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/thread.rs') 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

(ptr: *mut ffi::notmuch_thread_t, owner: P) -> Thread<'d, 'q> + pub(crate) fn from_ptr

(ptr: *mut ffi::notmuch_thread_t, owner: P) -> Thread<'d, 'q> where P: Into>>, { -- cgit v1.2.1