Introduction to Rust
First step into Rust, the safe systems language: fn main structure, println! macro, and variables.
Simple enough for a 5-year-old to understand
fn main and println!
Every Rust program starts with fn main(). To print to the screen, the println! macro is used (! is mandatory).
fn main() { println!("Hello!");}🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (2 left)
🎯 Expected output: Hello World