aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index 45a1f17..5f71778 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -67,7 +67,7 @@ impl notmuch_status_t {
}
impl ToStr for NotmuchStatus {
- fn to_str(&self) -> Result<&str, str::Utf8Error> {
+ fn to_str<'a>(&self) -> Result<&'a str, str::Utf8Error> {
unsafe {
notmuch_status_to_string(self.to_notmuch_t())
}.to_static_str()