Added inner loop break to the demo.

This commit is contained in:
Siim Kallas
2014-07-04 16:33:52 +03:00
parent edcdd016d7
commit 10e14279f3
+2 -1
View File
@@ -25,7 +25,8 @@ pub fn main() {
if key == sdl2::keycode::EscapeKey {
break 'main
}
}
},
sdl2::event::NoEvent => break 'event,
_ => {}
}
}