diff options
| author | C. Morgan Hamill <me@cmhamill.org> | 2015-03-24 19:46:02 +0100 |
|---|---|---|
| committer | C. Morgan Hamill <me@cmhamill.org> | 2015-03-24 19:46:02 +0100 |
| commit | 4a1e068f7ec752ef51891f04494f52c26ce7090c (patch) | |
| tree | 74fb64cc50c40f1ba752913e1f3181687103d6aa /src/macros.rs | |
| parent | a644db096a6f783a75c34eaa3ad4bf6a57615e62 (diff) | |
| download | mail-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.rs | 2 |
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 { |
