diff options
| author | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2018-10-29 21:54:48 +0100 |
|---|---|---|
| committer | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2018-10-29 21:54:48 +0100 |
| commit | 304786cbfd8d2d425eb7119b974ca9cb416a6ee0 (patch) | |
| tree | 923ce4ab4e68f8531bc194a6808f78bb62cebf1e /tests/main.rs | |
| parent | bd1a184600a0d42c36d7d2fc5f010692d0ab46aa (diff) | |
| download | mail-304786cbfd8d2d425eb7119b974ca9cb416a6ee0.tar.gz | |
fix lifetimes of tags
Diffstat (limited to 'tests/main.rs')
| -rw-r--r-- | tests/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/main.rs b/tests/main.rs index 8c68ca3..6840dc0 100644 --- a/tests/main.rs +++ b/tests/main.rs @@ -1,8 +1,9 @@ extern crate notmuch; +extern crate dirs; fn main() { - let mut mail_path = std::env::home_dir().unwrap(); + let mut mail_path = dirs::home_dir().unwrap(); mail_path.push(".mail"); match notmuch::Database::open(&mail_path.to_str().unwrap().to_string(), notmuch::DatabaseMode::ReadOnly){ |
