aboutsummaryrefslogtreecommitdiffstats
path: root/src/macros.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/macros.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/macros.rs')
-rw-r--r--src/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macros.rs b/src/macros.rs
index 836be63..8802a71 100644
--- a/src/macros.rs
+++ b/src/macros.rs
@@ -16,7 +16,7 @@ macro_rules! notmuch_enum {
$($variant_alias),*
}
- impl NotmuchEnum for $name_alias {
+ impl NotmuchType for $name_alias {
type NotmuchT = $name;
fn from_notmuch_t(notmuch_t: $name) -> Self {