diff options
Diffstat (limited to 'alacritty/src/scheduler.rs')
-rw-r--r-- | alacritty/src/scheduler.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/alacritty/src/scheduler.rs b/alacritty/src/scheduler.rs index a6559acc..673029ae 100644 --- a/alacritty/src/scheduler.rs +++ b/alacritty/src/scheduler.rs @@ -46,13 +46,7 @@ impl Scheduler { } /// Schedule a new event. - pub fn schedule( - &mut self, - event: Event, - interval: Duration, - repeat: bool, - timer_id: TimerId, - ) { + pub fn schedule(&mut self, event: Event, interval: Duration, repeat: bool, timer_id: TimerId) { let deadline = Instant::now() + interval; // Get insert position in the schedule. |