git @ Cat's Eye Technologies Dipple / master rust / numbers.rs
master

Tree @master (Download .tar.gz)

numbers.rs @masterraw · history · blame

// SPDX-FileCopyrightText: Chris Pressey, the original author of this work, has dedicated it to the public domain.
// For more information, please refer to <https://unlicense.org/>
// SPDX-License-Identifier: Unlicense

fn main() {
    let mut x: u64 = 0;
    loop {
        io::println(fmt!("%?", x));
        io::stdout().flush();
        x += 1;
    }
}