diff options
Diffstat (limited to 'src/cmd.rs')
-rw-r--r-- | src/cmd.rs | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -11,9 +11,9 @@ mod list; mod r#move; mod raw; mod remove; +mod search; mod show; mod stats; -mod search; use add_folder::add_folder; use folders::folders; @@ -22,9 +22,9 @@ use list::list; use r#move::r#move; use raw::raw; use remove::remove; +use search::search; use show::show; use stats::stats; -use search::search; pub fn open_submaildir(mut path: PathBuf, sub: &str) -> Maildir { if !sub.is_empty() { @@ -39,7 +39,9 @@ pub struct MailStorage { impl Default for MailStorage { fn default() -> Self { - MailStorage { maildir_path: RwLock::new(None) } + MailStorage { + maildir_path: RwLock::new(None), + } } } |