Rust learning hub

Learn Rust, One Lesson at a Time

Short lessons on Rust with code you can run in your browser. Follow a path from the basics, then practice with challenges.

Learning paths

Follow a path: short lessons first, then a challenge to check you can use the idea on your own.

Explore Rust topics

Variables and Mutability

Declare variables with let, allow changes with mut, and use constants and shadowing.

View lesson →

Data Types

Work with integers, floating-point numbers, booleans and characters, and convert between them.

View lesson →