aahh, now i understand that warning

This commit is contained in:
2014-12-10 21:48:08 +01:00
parent 9b191353ac
commit 70edeb9580

View File

@@ -59,11 +59,10 @@ fn main() {
let mut on_ground = true; let mut on_ground = true;
let mut current : uint = 0; let mut current : uint;
let mut elapsed : uint = 0; let mut elapsed : uint;
let mut lag : uint = 0;
let mut previous : uint = get_ticks(); let mut previous : uint = get_ticks();
let mut lag : uint = 0;
loop { loop {
current = get_ticks(); current = get_ticks();