13 lines
221 B
Rust
13 lines
221 B
Rust
|
|
|
|
fn main() {
|
|
let mut x: int = 10;
|
|
let mut y: int = 0;
|
|
while y < x { log(debug, y); #debug("hello"); y = y + 1; }
|
|
while x > 0 {
|
|
#debug("goodbye");
|
|
x = x - 1;
|
|
log(debug, x);
|
|
}
|
|
}
|