From ac3a4f0717a7fd86f026f600dc25702100ceeac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Sat, 26 Jan 2019 14:40:30 +1300 Subject: [PATCH] [pathop] Revert changes adding a time field --- src/pathop.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pathop.rs b/src/pathop.rs index 41747cb..76d987a 100644 --- a/src/pathop.rs +++ b/src/pathop.rs @@ -1,6 +1,5 @@ use notify::op; use std::path::{Path, PathBuf}; -use std::time::{SystemTime}; /// Info about a path and its corresponding `notify` event #[derive(Debug, Clone, Hash, Eq, PartialEq)] @@ -8,7 +7,6 @@ pub struct PathOp { pub path: PathBuf, pub op: Option, pub cookie: Option, - pub time: SystemTime, } impl PathOp { @@ -17,7 +15,6 @@ impl PathOp { path: path.to_path_buf(), op: op, cookie: cookie, - time: SystemTime::now(), } }