mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2026-10-27 08:51:00 +00:00
Merge pull request #93 from PR0M3TH3AN/codex/format-and-commit-watcher.rs
Format watcher
This commit is contained in:
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