mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-10 01:51:27 +03:00
fix comment
This commit is contained in:
@@ -129,7 +129,7 @@ thread_local! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// debounce a statement `$st`, i.e. the statement is executed only if the
|
/// debounce a statement `$st`, i.e. the statement is executed only if the
|
||||||
/// time since the previous execution is at most `$dur`.
|
/// time since the previous execution is at least `$dur`.
|
||||||
/// `$prev` is used to keep track of this timestamp
|
/// `$prev` is used to keep track of this timestamp
|
||||||
macro_rules! debounce {
|
macro_rules! debounce {
|
||||||
($prev:ident, $dur:expr, $st:stmt) => {
|
($prev:ident, $dur:expr, $st:stmt) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user