2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/_rust/hello
2017-05-28 21:10:41 +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!");
}