Rust logo
Rust 1.30.1
1433507eb

Variable Bindings

There is a new edition of the book and this is an old link.

Variable bindings bind some value to a name, so it can be used later.

let foo = 5;Run

Here are the relevant sections in the new and old books: