summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2018-07-24 21:06:21 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2018-07-24 21:06:21 -0400
commit4fb0933240faf34cc4009ced0710ee8d986188b6 (patch)
tree932e45a441b88927019d7e47e4cbf9ec4e28b838
parentf4336b568c4663b8364f1644d9893484610b9655 (diff)
comment out debug messages
-rw-r--r--src/joshuto/history.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/joshuto/history.rs b/src/joshuto/history.rs
index 428d062..6254ccf 100644
--- a/src/joshuto/history.rs
+++ b/src/joshuto/history.rs
@@ -16,13 +16,13 @@ pub fn get_or_create(map : &mut HashMap<String, structs::JoshutoDirEntry>,
return None;
}
let key = format!("{}", path.to_str().unwrap());
- eprintln!("Looking for {} in map...", key);
+// eprintln!("Looking for {} in map...", key);
match map.entry(key) {
Entry::Occupied(entry) => {
Some(entry.remove_entry().1)
},
Entry::Vacant(_entry) => {
- eprintln!("did not find value, creating new one...");
+// eprintln!("did not find value, creating new one...");
match structs::JoshutoDirEntry::new(&path, sort_func, show_hidden) {
Ok(s) => { Some(s) },
Err(e) => {