diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-01-18 02:00:39 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-01-20 16:03:06 +0200 |
commit | d9269335a1b5660440743222f89fabd1f29f4e3a (patch) | |
tree | e7ab446a4784e98703f97a5cfd7e7e36138c5af6 /ui/src/conf/accounts.rs | |
parent | 47a69f8eb9c62cfc6b3e58002a2a978a6a16acdc (diff) |
melib/threads: rename thread hashes
- Rename ThreadHash to ThreadNodeHash
- Rename ThreadGroupHash to ThreadHash
Diffstat (limited to 'ui/src/conf/accounts.rs')
-rw-r--r-- | ui/src/conf/accounts.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/conf/accounts.rs b/ui/src/conf/accounts.rs index 5e13c827..0241f3d9 100644 --- a/ui/src/conf/accounts.rs +++ b/ui/src/conf/accounts.rs @@ -32,7 +32,7 @@ use melib::backends::{ }; use melib::error::{MeliError, Result}; use melib::mailbox::*; -use melib::thread::{SortField, SortOrder, ThreadHash, ThreadNode, Threads}; +use melib::thread::{SortField, SortOrder, ThreadNode, ThreadNodeHash, Threads}; use melib::AddressBook; use smallvec::SmallVec; use text_processing::GlobMatch; @@ -957,7 +957,7 @@ impl Account { } } - pub fn thread(&self, h: ThreadHash, f: FolderHash) -> &ThreadNode { + pub fn thread(&self, h: ThreadNodeHash, f: FolderHash) -> &ThreadNode { &self.collection.threads[&f].thread_nodes()[&h] } |