Skip to content

Glossary: Rust Basics

let

Also written: declaring a variable

The keyword that makes a variable, as in `let price = 15;`, read as "let price be 15".

Where the book teaches it

Related terms

VariableImmutableShadowing