Skip to content

Commit

Permalink
#9 lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HusseinAbdelhamid committed May 28, 2024
1 parent 79d6842 commit 619970e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ impl Clock for TestClock {
Ok(Instant::new(self.next_instants.borrow_mut().remove(0)))
}

fn new_timer<Dur: Duration>(&self, duration: Dur) -> Timer<OneShot, Armed, Self, Dur>
fn new_timer<Dur>(&self, duration: Dur) -> Timer<OneShot, Armed, Self, Dur>
where
Dur: FixedPoint,
Dur: Duration + FixedPoint,
{
Timer::new(self, duration)
}
Expand Down

0 comments on commit 619970e

Please sign in to comment.