diff options
Diffstat (limited to 'src/ffi.rs')
| -rw-r--r-- | src/ffi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |
