summaryrefslogtreecommitdiff
path: root/src/cmd.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.rs')
-rw-r--r--src/cmd.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/cmd.rs b/src/cmd.rs
index 576c9d4..49ba70e 100644
--- a/src/cmd.rs
+++ b/src/cmd.rs
@@ -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),
+ }
}
}