aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index 29b2ea7..1ee940a 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -19,7 +19,6 @@ use std::{
use utils::{
NotmuchType,
- ToStaticStr,
ToStr,
};
@@ -70,7 +69,7 @@ impl ToStr for NotmuchStatus {
fn to_str<'a>(&self) -> Result<&'a str, str::Utf8Error> {
unsafe {
notmuch_status_to_string(self.to_notmuch_t())
- }.to_static_str()
+ }.to_str()
}
}