Skip to content

Commit 511b0a1

Browse files
Update src/delay.rs
Co-Authored-By: Yoshua Wuyts <[email protected]>
1 parent 0190692 commit 511b0a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/delay.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ impl Delay {
6868
/// Resets this timeout to an new timeout which will fire at the time
6969
/// specified by `at`.
7070
#[inline]
71-
pub fn reset(&mut self, delay: Duration) {
71+
pub fn reset(&mut self, dur: Duration) {
7272
if self._reset(delay).is_err() {
7373
self.state = None
7474
}

0 commit comments

Comments
 (0)