remove print statement

This commit is contained in:
Theron 2020-03-08 18:01:24 -05:00
parent ede3545260
commit d2ea059915
2 changed files with 1 additions and 2 deletions

View File

@ -71,7 +71,7 @@ fn main() -> Result<(), String> {
Err(e) => println!("{}", e), Err(e) => println!("{}", e),
} }
}, },
_ => (), // println!("event: {:?}", event), _ => (),
} }
} }
std::thread::sleep(Duration::from_millis(100)); std::thread::sleep(Duration::from_millis(100));

View File

@ -90,7 +90,6 @@ pub fn find_last_save_state(filepath: &PathBuf, new_ext: Option<&str>) -> Option
let b_mod_time = b.as_ref().unwrap().metadata().unwrap().modified().unwrap(); let b_mod_time = b.as_ref().unwrap().metadata().unwrap().modified().unwrap();
b_mod_time.cmp(&a_mod_time) // puts in reverse order by last modified time b_mod_time.cmp(&a_mod_time) // puts in reverse order by last modified time
}); });
println!("{:?}", save_states);
match save_states.len() { match save_states.len() {
0 => None, 0 => None,
_ => Some(save_states[0].as_ref().unwrap().path()), _ => Some(save_states[0].as_ref().unwrap().path()),