Hello, Rust

Prove the toolchain works: your first program compiles and greets you back.

Every journey starts with a program that runs. Here’s yours: edit it, press Run, and it compiles on the official Rust Playground. No setup, no install.

Change the name, break the syntax on purpose, and read what the compiler tells you. That feedback loop is the Rust experience, and this whole site is built around making it fast.

check your understanding

Why does `println!` end with an exclamation mark?

What does `fn main()` mean to the Rust toolchain?

ask the tutor about this
learners marked this complete