aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.rs
diff options
context:
space:
mode:
authorC. Morgan Hamill <me@cmhamill.org>2015-03-24 19:46:02 +0100
committerC. Morgan Hamill <me@cmhamill.org>2015-03-24 19:46:02 +0100
commit4a1e068f7ec752ef51891f04494f52c26ce7090c (patch)
tree74fb64cc50c40f1ba752913e1f3181687103d6aa /src/utils.rs
parenta644db096a6f783a75c34eaa3ad4bf6a57615e62 (diff)
downloadmail-4a1e068f7ec752ef51891f04494f52c26ce7090c.tar.gz
Rename `NotmuchEnum` trait to `NotmuchType`.
Turns out to be useful outside of just enums.
Diffstat (limited to 'src/utils.rs')
-rw-r--r--src/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.rs b/src/utils.rs
index dbabe21..ad6cf9b 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -7,7 +7,7 @@ use std::os::unix::ffi::OsStrExt;
use libc;
-pub trait NotmuchEnum {
+pub trait NotmuchType {
type NotmuchT;
fn from_notmuch_t(notmuch_t: Self::NotmuchT) -> Self;