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