mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-17 09:25:32 +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!");
|
|
}
|