We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0190692 commit 511b0a1Copy full SHA for 511b0a1
src/delay.rs
@@ -68,7 +68,7 @@ impl Delay {
68
/// Resets this timeout to an new timeout which will fire at the time
69
/// specified by `at`.
70
#[inline]
71
- pub fn reset(&mut self, delay: Duration) {
+ pub fn reset(&mut self, dur: Duration) {
72
if self._reset(delay).is_err() {
73
self.state = None
74
}
0 commit comments