Permalink
Browse files

Update to build with latest rustc syntax changes.

  • Loading branch information...
1 parent 89c7db5 commit 1f1f49d6e32116734f1f45cb64498340e5e367ff @jdm jdm committed Jul 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 test.rs
View
@@ -118,12 +118,12 @@ mod video {
image
};
- iter::repeat(1u, || {
+ for iter::repeat(1u) || {
::video::blit_surface(image, ptr::null(),
screen, ptr::null());
::video::flip(screen);
::event::poll_event(|_event| {})
- });
+ };
::video::free_surface(image);
::video::free_surface(screen);

0 comments on commit 1f1f49d

Please sign in to comment.