aboutsummaryrefslogtreecommitdiffstats
path: root/src/thread.rs
diff options
context:
space:
mode:
authorDirk Van Haerenborgh <vhdirk@gmail.com>2018-10-29 21:54:48 +0100
committerDirk Van Haerenborgh <vhdirk@gmail.com>2018-10-29 21:54:48 +0100
commit304786cbfd8d2d425eb7119b974ca9cb416a6ee0 (patch)
tree923ce4ab4e68f8531bc194a6808f78bb62cebf1e /src/thread.rs
parentbd1a184600a0d42c36d7d2fc5f010692d0ab46aa (diff)
downloadmail-304786cbfd8d2d425eb7119b974ca9cb416a6ee0.tar.gz
fix lifetimes of tags
Diffstat (limited to 'src/thread.rs')
-rw-r--r--src/thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.rs b/src/thread.rs
index 1cf163e..1ba865e 100644
--- a/src/thread.rs
+++ b/src/thread.rs
@@ -86,7 +86,7 @@ impl<'o, Owner: ThreadOwner> Thread<'o, Owner>{
}
- pub fn tags<'t>(self: &Self) -> Tags{
+ pub fn tags<'t>(self: &Self) -> Tags<'t, Self>{
Tags::from_ptr(unsafe {
ffi::notmuch_thread_get_tags(self.handle.ptr)
})