rollup merge of #21038: steveklabnik/gh20471

Fixes #20471.
This commit is contained in:
Alex Crichton 2015-01-15 14:11:36 -08:00
commit 9d6e1f921b

View File

@ -194,7 +194,8 @@ println!("length is {} inches", integer_length);
```
As you can see here, you can extract the inner integer type through a
destructuring `let`.
destructuring `let`, as we discussed previously in 'tuples.' In this case, the
`let Inches(integer_length)` assigns `10` to `integer_length`.
## Enums