We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 90b999a + 93156ab commit 6fbd538Copy full SHA for 6fbd538
src/libstd/rt/uv/timer.rs
@@ -143,7 +143,7 @@ mod test {
143
let count_ptr: *mut int = &mut count;
144
let mut loop_ = Loop::new();
145
let mut timer = TimerWatcher::new(&mut loop_);
146
- do timer.start(10, 20) |timer, status| {
+ do timer.start(1, 2) |timer, status| {
147
assert!(status.is_none());
148
unsafe {
149
*count_ptr += 1;
@@ -166,7 +166,7 @@ mod test {
166
167
// Restart the original timer
168
let mut timer = timer;
169
- do timer.start(10, 0) |timer, _| {
+ do timer.start(1, 0) |timer, _| {
170
unsafe { *count_ptr += 1; }
171
timer.close(||());
172
}
0 commit comments