mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Cleanup textinput, timers
This commit is contained in:
parent
53e155e8ac
commit
ac1b7a3896
2 changed files with 6 additions and 5 deletions
|
@ -222,8 +222,8 @@ impl TimerManager {
|
|||
for _ in 0..arguments.len() {
|
||||
timer.data.args.push(Heap::default());
|
||||
}
|
||||
for i in 0..arguments.len() {
|
||||
timer.data.args.get_mut(i).unwrap().set(arguments[i].get());
|
||||
for (i, item) in arguments.iter().enumerate() {
|
||||
timer.data.args.get_mut(i).unwrap().set(item.get());
|
||||
}
|
||||
handle
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue