remove print statement
This commit is contained in:
parent
ede3545260
commit
d2ea059915
|
@ -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));
|
||||||
|
|
|
@ -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()),
|
||||||
|
|
Loading…
Reference in New Issue