diff options
| author | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2018-04-17 21:16:13 +0200 |
|---|---|---|
| committer | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2018-04-17 21:16:13 +0200 |
| commit | 1be0cc6ab7920208b3d6986dbb6076846d758c17 (patch) | |
| tree | 068ef89149b9719294272d4bdee81d7ff413519b /src/thread.rs | |
| parent | caf1b053912d5fe5a893eb545bea20bfc4619d5d (diff) | |
| download | mail-1be0cc6ab7920208b3d6986dbb6076846d758c17.tar.gz | |
make clippy happy
Diffstat (limited to 'src/thread.rs')
| -rw-r--r-- | src/thread.rs | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/thread.rs b/src/thread.rs index ee19c7e..47166d4 100644 --- a/src/thread.rs +++ b/src/thread.rs @@ -1,15 +1,7 @@ -use std; use std::{ ops, - marker, - str, - result + marker }; -use std::sync::atomic::AtomicPtr; - -use std::ffi::{CString, CStr}; - -use error::Result; use ffi; use utils::{ @@ -89,7 +81,7 @@ impl<'q, 'd> Thread<'q, 'd>{ ffi::notmuch_thread_get_authors(self.0) }; - athrs.to_str().unwrap().split(",").map(|s| s.to_string()).collect() + athrs.to_str().unwrap().split(',').map(|s| s.to_string()).collect() } /// Get the date of the oldest message in 'thread' as a time_t value. |
