Skip to content
Make room for learningYour learning studio
Make change explicit4 min

Loading your session…

A small idea, worth understanding

Make change explicit

Identify when Rust needs a mutable binding.

Rust bindings are immutable by default. Add mut when a binding needs to change after it is initialized.

The compiler catches an accidental reassignment before your program runs.

Two activities. No typing needed. You can always retry, or read an explanation and continue.

Read the full lesson first