mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-08 07:08:44 +00:00
Format watcher module
This commit is contained in:
@@ -109,7 +109,8 @@ struct RemoveTracker {
|
||||
impl RemoveTracker {
|
||||
fn record(&mut self, path: &PathBuf) {
|
||||
if let Ok(h) = Handle::from_path(path) {
|
||||
self.map.insert(handle_key(&h), (path.clone(), Instant::now()));
|
||||
self.map
|
||||
.insert(handle_key(&h), (path.clone(), Instant::now()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user