Skip to content

Commit

Permalink
comment out debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kamiyaa committed Jul 25, 2018
1 parent f4336b5 commit 4fb0933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/joshuto/history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 4fb0933

Please sign in to comment.