RUST

creating your first program

(it’s ezpz)

run:

cargo new helloworld
cd helloworld

open a file called src/main.rs, and enter the following:

fn main() {
    println!("hello, {}", "world");
}

run:

cargo run