We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c05b1 commit 197a07bCopy full SHA for 197a07b
src/debouncer.rs
@@ -46,7 +46,7 @@ impl DebouncerState {
46
break;
47
};
48
49
- if timestamp.duration_since(now) < Duration::from_secs(1) {
+ if now.duration_since(timestamp) < Duration::from_secs(1) {
50
self.heap.push(Reverse((timestamp, token)));
51
52
}
0 commit comments