summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorBen S <ogham@bsago.me>2015-06-08 21:33:39 +0100
committerBen S <ogham@bsago.me>2015-06-08 21:33:39 +0100
commit2d8a9b49bee97fdbdca4ce6c48ca813de6869e1b (patch)
tree6a04ae04628ed3bf308d60ef8f075fa537fc8a8a /src/main.rs
parent549f59092c7dcbeb5fe619cb841c8a8a87b877e9 (diff)
Various unimportant style changes
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index cc4cb85..1e64a67 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -11,18 +11,19 @@ extern crate num_cpus;
extern crate number_prefix;
extern crate pad;
extern crate threadpool;
-extern crate users;
extern crate unicode_width;
+extern crate users;
#[cfg(feature="git")]
extern crate git2;
+
use std::env;
use std::fs;
use std::path::{Component, Path, PathBuf};
+use std::sync::mpsc::channel;
use threadpool::ThreadPool;
-use std::sync::mpsc::channel;
use dir::Dir;
use file::File;
@@ -183,6 +184,7 @@ impl<'dir> Exa<'dir> {
}
}
+
#[cfg(not(test))]
fn main() {
let args: Vec<String> = env::args().collect();