aboutsummaryrefslogtreecommitdiffstats
path: root/src/message.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/message.rs
parent03461235f381df7b22caa1bf8d1afac57079b189 (diff)
downloadmail-422377021f9a15b30d297b6ead7864098d5b2c2d.tar.gz
remove 'get_' from getter functions
Diffstat (limited to 'src/message.rs')
-rw-r--r--src/message.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/message.rs b/src/message.rs
index b4eacc8..feafcb3 100644
--- a/src/message.rs
+++ b/src/message.rs
@@ -133,9 +133,9 @@ where
unsafe { ffi::notmuch_message_thaw(self.ptr) }.as_result()
}
- pub fn get_properties<'m>(&'m self, key: &str, exact: bool) -> MessageProperties<'m, 'o, O>
+ pub fn properties<'m>(&'m self, key: &str, exact: bool) -> MessageProperties<'m, 'o, O>
{
- <Self as MessageExt<'o, O>>::get_properties(self, key, exact)
+ <Self as MessageExt<'o, O>>::properties(self, key, exact)
}
}
@@ -176,7 +176,7 @@ where
)
}
- fn get_properties<'m, M>(message: M, key: &str, exact: bool) -> MessageProperties<'m, 'o, O>
+ fn properties<'m, M>(message: M, key: &str, exact: bool) -> MessageProperties<'m, 'o, O>
where
M: Into<ScopedSupercow<'m, Message<'o, O>>>,
{