mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2026-11-06 22:01:00 +00:00
Format watcher module
This commit is contained in:
1 parent
1bf656f40b
commit
9423d40b80
1 file changed
+2
-1
@@ -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