Skip to content

Commit 0190692

Browse files
Update src/delay_wasm.rs
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
1 parent 034ea15 commit 0190692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/delay_wasm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ impl Delay {
2222

2323
/// Resets the timeout.
2424
#[inline]
25-
pub fn reset(&mut self, at: Duration) {
25+
pub fn reset(&mut self, dur: Duration) {
2626
*self = Delay::new(at);
2727
}
2828
}

0 commit comments

Comments
 (0)