This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
master
RosettaCodeData
/
Task
/
Loops-While
/
Rust
/
loops-while.rust
8 lines
108 B
Text
Raw
Permalink
Normal View
History
Unescape
Escape
Just another update
2015-02-20 00:35:01 -05:00
fn main() {
Another update from ingydotnet^djgoku
2015-11-18 06:14:39 +00:00
let mut n: i32 = 1024;
Just another update
2015-02-20 00:35:01 -05:00
while n > 0 {
println!("{}", n);
n /= 2;
}
}
Reference in a new issue
Copy permalink