``rust fn main() { println!("Hello, world!"); } ``` Ieu program "Hello, world!" saderhana dina Rust. fn main() mangrupikeun titik lebet tina program, dimana kode di jero braces curly, {}, dieksekusi. Println! makro dianggo pikeun nyitak string "Hello, world!" ka konsol.
spam quality