aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.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/index.rs
parent9d3eaa7aa7e2be84e150075fb12e97083d7c61f8 (diff)
downloadmail-03461235f381df7b22caa1bf8d1afac57079b189.tar.gz
limit visibility of 'from_ptr' functions to crate
Diffstat (limited to 'src/index.rs')
-rw-r--r--src/index.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.rs b/src/index.rs
index a672dfb..ba89c1a 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -23,7 +23,7 @@ impl<'d> Drop for IndexOpts<'d> {
}
impl<'d> IndexOpts<'d> {
- pub fn from_ptr<O>(ptr: *mut ffi::notmuch_indexopts_t, owner: O) -> IndexOpts<'d>
+ pub(crate) fn from_ptr<O>(ptr: *mut ffi::notmuch_indexopts_t, owner: O) -> IndexOpts<'d>
where
O: Into<ScopedPhantomcow<'d, Database>>,
{