2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-03 15:40:17 +00:00
cheat.sheets/sheets/rust/hello
2017-05-08 20:27:00 +00:00

8 lines
138 B
Plaintext

// to install rust:
// curl https://sh.rustup.rs -sSf | sh
// to compile:
// rustc main.rs
fn main() {
println!("Hello, world!");
}