summaryrefslogtreecommitdiff
path: root/meap/meap-code/ch5/ch5-to-oblivion.rs
blob: 1bfee535f7d6c9b571c0834f729eea6915a2d3bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
fn main() {
  let mut i: u16 = 0;
  print!("{:}..", i);
  loop {
      i += 1000;
      print!("{}..", i);
      if i % 10000 == 0 {
          print!{"\n"}
      }
  }
}