Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/ch03-01-variables-and-mutability.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ The error says we’re not allowed to mutate a variable’s type:
{{#include ../listings/ch03-common-programming-concepts/no-listing-05-mut-cant-change-types/output.txt}}
```

> Note: Shadowing is often most useful for short, local transformations.
> Overusing it across larger or nested scopes can make code harder to read.

Now that we’ve explored how variables work, let’s look at more data types they
can have.

Expand Down