aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.rs
diff options
context:
space:
mode:
authorDirk Van Haerenborgh <vhdirk@gmail.com>2019-10-25 10:05:05 +0200
committerDirk Van Haerenborgh <vhdirk@gmail.com>2019-10-25 10:05:05 +0200
commit422377021f9a15b30d297b6ead7864098d5b2c2d (patch)
tree7a0fb73119ebc0d491c6596ba0fe16f862b0ebf7 /src/index.rs
parent03461235f381df7b22caa1bf8d1afac57079b189 (diff)
downloadmail-422377021f9a15b30d297b6ead7864098d5b2c2d.tar.gz
remove 'get_' from getter functions
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 ba89c1a..f070020 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -37,7 +37,7 @@ impl<'d> IndexOpts<'d> {
unsafe { ffi::notmuch_indexopts_set_decrypt_policy(self.ptr, decrypt_policy.into()) }.as_result()
}
- pub fn get_decrypt_policy(self: &Self) -> DecryptionPolicy {
+ pub fn decrypt_policy(self: &Self) -> DecryptionPolicy {
unsafe { ffi::notmuch_indexopts_get_decrypt_policy(self.ptr)}.into()
}
}