```rust fn main (() { println!("Hello, world!"); } ``` Bu oddiy "Hello, world!" dasturi. fn main (() - dasturning kirish nuqtasi, bu erda burchakli qavslar ichidagi kod, {}, bajariladi. println! makroi "Hello, world!" satrini konsolga bosib chiqarish uchun ishlatiladi.
spam quality