mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-03 15:40:17 +00:00
8 lines
138 B
Plaintext
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!");
|
|
}
|