Getting StartedHello, Cargo (and Macros)
All courses

Your first Rust program

Every binary starts at fn main(). println! ends with ! because it is a macro, not a function — macros compile-time expand into code.

Quirk: Macros look like functions but can do things functions cannot (like variable arguments). Welcome to Rust's punctuation adventure.

Output
Press Run to execute your code.