Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update to build with latest rustc syntax changes.

  • Loading branch information...
commit 1f1f49d6e32116734f1f45cb64498340e5e367ff 1 parent 89c7db5
Josh Matthews jdm authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 test.rs
4 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);
Please sign in to comment.
Something went wrong with that request. Please try again.