summaryrefslogtreecommitdiffstats
path: root/src/doc/book/redirects/variable-bindings.md
blob: 0bd437ec31af394e1481e27eef2483af9e5d93ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
% Variable Bindings

<small>There is a new edition of the book and this is an old link.</small>

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

```rust
let foo = 5;
```

---

You can find the latest version of this information
[here](ch02-00-guessing-game-tutorial.html#storing-values-with-variables).