diff options
| author | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2019-10-25 10:05:05 +0200 |
|---|---|---|
| committer | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2019-10-25 10:05:05 +0200 |
| commit | 422377021f9a15b30d297b6ead7864098d5b2c2d (patch) | |
| tree | 7a0fb73119ebc0d491c6596ba0fe16f862b0ebf7 /src/index.rs | |
| parent | 03461235f381df7b22caa1bf8d1afac57079b189 (diff) | |
| download | mail-422377021f9a15b30d297b6ead7864098d5b2c2d.tar.gz | |
remove 'get_' from getter functions
Diffstat (limited to 'src/index.rs')
| -rw-r--r-- | src/index.rs | 2 |
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() } } |
