test: Remove all remaining non-procedure uses of do.
This commit is contained in:
parent
f571e46ddb
commit
38efa17bb8
34 changed files with 385 additions and 392 deletions
|
|
@ -392,11 +392,11 @@ fn local_loop() -> &'static mut Loop {
|
|||
unsafe {
|
||||
cast::transmute(Local::borrow(|sched: &mut Scheduler| {
|
||||
let mut io = None;
|
||||
do sched.event_loop.io |i| {
|
||||
sched.event_loop.io(|i| {
|
||||
let (_vtable, uvio): (uint, &'static mut uvio::UvIoFactory) =
|
||||
cast::transmute(i);
|
||||
io = Some(uvio);
|
||||
}
|
||||
});
|
||||
io.unwrap()
|
||||
}).uv_loop())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue